8465225·Author: Thomas Smith·Closed by: Thomas Smith·2017-06-09
Description
The issue is that when a function in the stack trace is handling some data that includes unicode surrogate code points, dogslow would fail to render the stack trace, preventing the watchdog warning from making it to Sentry or whatever downstream logging. Instead, only the dogslow internal error would be logged.
Add tox.ini, first test, and install_requires
Failing test for handling unicode surrogates in stack trace
Fix for giving stacktraces with unicode surrogates.
The issue is that when a function in the stack trace is handling some data that includes unicode surrogate code points, dogslow would fail to render the stack trace, preventing the watchdog warning from making it to Sentry or whatever downstream logging. Instead, only the dogslow internal error would be logged.
Add tox.ini, first test, and install_requires
Failing test for handling unicode surrogates in stack trace
Fix for giving stacktraces with unicode surrogates.