|
@ -40,7 +40,7 @@ def main(global_config: dict[str, str], **settings: str) -> PrefixMiddleware: |
|
|
|
|
|
|
|
|
if settings.get("sentry_dsn"): |
|
|
if settings.get("sentry_dsn"): |
|
|
# pylint: disable=abstract-class-instantiated |
|
|
# pylint: disable=abstract-class-instantiated |
|
|
sentry_sdk.init( |
|
|
|
|
|
|
|
|
sentry_sdk.init( # type: ignore[abstract] |
|
|
dsn=settings["sentry_dsn"], |
|
|
dsn=settings["sentry_dsn"], |
|
|
integrations=[PyramidIntegration()], |
|
|
integrations=[PyramidIntegration()], |
|
|
ignore_errors=[ValidationError], |
|
|
ignore_errors=[ValidationError], |
|
|