Test the exception being send to sentry in async tasks.