level12 / keg-elements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SentrySDK 2.0 breaks our Sentry integration

rsyring opened this issue · comments

TypeError: Unknown option 'with_locals'

https://docs.sentry.io/platforms/python/migration/1.x-to-2.x#configuration-options

Should read through that doc and see what other 2.0 upgrades might be relevant.

with_locals=True,

Our exception handling is also broken:

sentry_sdk._compat.reraise(*exc_info)

_compat.reraise() no longer exists in their library.

Fixed in 0.12.0. reraise was moved to a utils module.