diff --git a/swh/web/browse/utils.py b/swh/web/browse/utils.py --- a/swh/web/browse/utils.py +++ b/swh/web/browse/utils.py @@ -121,8 +121,9 @@ for enc in encodings: try: content_data = content_data.decode(enc).encode("utf-8") - except Exception as exc: - sentry_sdk.capture_exception(exc) + except Exception: + # sentry_sdk.capture_exception(exc) + pass else: # ensure display in content view encoding = enc