Optionally allow re-raising of exceptions (for use with Sentry)