Environment
AWS Lambda with Python 3.9 runtime.
Sentry sdk version sentry-sdk==1.3.1
Steps to Reproduce
- Change lambda runtime to Python 3.9
- Raise exception
Expected Result
Error should appear in the sentry dashboard.
Actual Result
Nothing happens.
I found that in Python 3.9 runtime, AWS has changed bootstrap location, so return sys.modules["__main__"].bootstrap this is not working anymore.
I fixed it with this sys.modules["__main__"].awslambdaricmain.bootstrap
Environment
AWS Lambda with Python 3.9 runtime.
Sentry sdk version sentry-sdk==1.3.1
Steps to Reproduce
Expected Result
Error should appear in the sentry dashboard.
Actual Result
Nothing happens.
I found that in Python 3.9 runtime, AWS has changed bootstrap location, so
return sys.modules["__main__"].bootstrapthis is not working anymore.I fixed it with this
sys.modules["__main__"].awslambdaricmain.bootstrap