Fu Jian
Fu Jian

Reputation: 415

How to find the source url of an exception in sentry?

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:

enter image description here

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

Answers (1)

Malik
Malik

Reputation: 84

Exceptions raised internally are without URL. Only exceptions triggered by requests have URL. See sentry error screen below:

.

Upvotes: 0

Related Questions