Set up caught and thrown exception to send on sentry servers