Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124703
D7577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
611 B
Subscribers
None
D7577.diff
View Options
diff --git a/swh/web/common/exc.py b/swh/web/common/exc.py
--- a/swh/web/common/exc.py
+++ b/swh/web/common/exc.py
@@ -12,6 +12,7 @@
from django.shortcuts import render
from django.utils.html import escape
from django.utils.safestring import mark_safe
+from rest_framework.exceptions import AuthenticationFailed
from swh.web.config import get_config
@@ -137,6 +138,8 @@
exceptions.DisallowedHost,
exceptions.PermissionDenied,
BadInputExc,
+ NotFoundExc,
+ AuthenticationFailed,
),
):
sentry_sdk.capture_exception(exc)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 5:38 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222185
Attached To
D7577: common/exc: Filter out more exceptions to not report to sentry
Event Timeline
Log In to Comment