Reputation: 415
ENV INFO
I am using sentry to catch the crash reports. I got an alert saying there is an exception and it displays the stacktrace clearly:
For it is a web app based on django I want to know in which url the exception is raised up. I did some searching on getsentry.com but only find that we can add extra in the logging module like this.
https://docs.getsentry.com/hosted/learn/context/
Is there more convenient way to do this, like configure it in sentry dashboard(I thought the source url is a must-have contextual info).
Upvotes: 1
Views: 1648
Reputation: 84
Exceptions raised internally are without URL. Only exceptions triggered by requests have URL. See sentry error screen below:
.
Upvotes: 0