polar
polar copied to clipboard
Sentry reports "handled" exceptions
Recently, Sentry started to create reports for exceptions that are handled (e.g. by the FastAPI exception handler). A few examples:
- https://polar-sh.sentry.io/issues/5545856183/events/dd099f7ecbc0455582bca0668e7c3735/
- https://polar-sh.sentry.io/issues/5494438240/events/a01123e90c3b41b9a17d62a687704fc5/
It's a bit annoying since those exceptions are custom ones we are defining and raising to have a clean suite of operations, knowing that the end-user will get a proper HTTP response in the end. It's not an error or a bug. Definitely, this should not appear in Sentry.