zulip/zerver/webhooks/sentry
Alex Vandiver 398102e215 sentry: When there are multiple stacktraces, take the most recent.
Sentry may get reported multiple exceptions stacks, in the case where
a `raise ...` was caught, and a new exception was `raise`d.  In this
case, the `filename` is the most recent exception -- but the
exceptions are stored in the `exception` key in the order in which
they occurred.  As such, taking the first value with a `stacktrace`
will result in showing the wrong line, or in no stack trace being
resolved at all.

Look from the last `exception` backwards, for matching stacks.
2020-08-31 14:14:20 -07:00
..
fixtures webhooks/sentry: Add back support for the legacy integrations. 2020-05-07 11:26:19 -07:00
__init__.py
doc.md sentry: Document default topic. 2020-08-11 10:15:02 -07:00
tests.py webhook tests: Rename main helper to check_webhook. 2020-08-24 12:34:46 -07:00
view.py sentry: When there are multiple stacktraces, take the most recent. 2020-08-31 14:14:20 -07:00