Exception handling with sentry