exoscale / reporter

event, errors and metric reporting component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't automatically catch exceptions when enabling Sentry support

vincentbernat opened this issue · comments

Hey!

When enabling Sentry support, uncaught exceptions are automatically intercepted. This is surprising for a library to take over exceptions and an application may want to do things differently and invoke capture! manually. Let the user opt-out (or opt-in) on exception catching.

Hi.

capture! can always be invoked manually. A flag to opt-out makes sense in case you already have one.

+1 as we faced this issue in uri-dns

#9 provides an opt-out