We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66ffc91 commit 30d6a38Copy full SHA for 30d6a38
sentry_sdk/integrations/_wsgi_common.py
@@ -16,7 +16,12 @@ def extract_into_event(self, event):
16
17
content_length = self.content_length()
18
request_info = event.setdefault("request", {})
19
- request_info["url"] = self.url()
+ try:
20
+ request_info["url"] = self.url()
21
+ except Exception:
22
+ # Django sometimes crashes with KeyError trying to build an
23
+ # absolute URL
24
+ pass
25
26
if _should_send_default_pii():
27
request_info["cookies"] = dict(self.cookies())
0 commit comments