Page MenuHomeSoftware Heritage

D8203.id29599.diff
No OneTemporary

D8203.id29599.diff

diff --git a/swh/core/api/__init__.py b/swh/core/api/__init__.py
--- a/swh/core/api/__init__.py
+++ b/swh/core/api/__init__.py
@@ -429,10 +429,9 @@
on the client side.
"""
- logging.exception(exception)
-
status_class = status_code // 100
if status_class == 5:
+ logging.exception(exception)
sentry_sdk.capture_exception(exception)
response = encoder(exception_to_dict(exception))

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 24, 5:56 PM (4 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217648

Event Timeline