Sentry Lambda Extension
Flushes data to Sentry out of the main lambda context
The majority of this was taken from this excellent blog post: https://dev.to/slsbytheodo/power-up-your-serverless-application-with-aws-lambda-extensions-3a31