Skip to content

Convert null lines of stacktrace context to empty strings on ingest

james kiger requested to merge convert-stacktrace-null-to-string into master

Converts null stacktrace lines in pre_context and post_context to empty strings. Partially addresses glitchtip-frontend#286 (closed)

Note about unit tests: I had to edit the SDK data for the unit test ever so slightly. The event (as logged via EVENT_STORE_DEBUG on GlitchTip) included "type": "event", which resulted in validation errors when run through our SentryCompat test methods. So I just removed that field. Please let me know if there is a better way to address this issue.

Merge request reports