Skip to content
Snippets Groups Projects
Commit a0355957 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

browse/utils: Do not log decoding error to sentry in re_encode_content

Closes T3979
parent 612be20c
No related branches found
Tags debian/upstream/0.0.120
No related merge requests found
......@@ -120,8 +120,8 @@ def re_encode_content(
for enc in encodings:
try:
content_data = content_data.decode(enc).encode("utf-8")
except Exception as exc:
sentry_capture_exception(exc)
except Exception:
pass
else:
# ensure display in content view
encoding = enc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment