diff --git a/requirements.txt b/requirements.txt index 59a5bf929..20317e5b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,4 @@ odoorpc openpyxl openupgradelib pygount -sentry_sdk>=1.17.0 +sentry_sdk<=1.9.0 diff --git a/sentry/__manifest__.py b/sentry/__manifest__.py index 06a35e342..b22ac7980 100644 --- a/sentry/__manifest__.py +++ b/sentry/__manifest__.py @@ -17,7 +17,7 @@ "installable": True, "external_dependencies": { "python": [ - "sentry_sdk>=1.17.0", + "sentry_sdk<=1.9.0", ] }, "depends": [ diff --git a/sentry/const.py b/sentry/const.py index 3e1bce287..c3135a9df 100644 --- a/sentry/const.py +++ b/sentry/const.py @@ -77,9 +77,7 @@ def get_sentry_options(): SentryOption("dsn", "", str.strip), SentryOption("transport", DEFAULT_OPTIONS["transport"], select_transport), SentryOption("logging_level", DEFAULT_LOG_LEVEL, get_sentry_logging), - SentryOption( - "include_local_variables", DEFAULT_OPTIONS["include_local_variables"], None - ), + SentryOption("with_locals", DEFAULT_OPTIONS["with_locals"], None), SentryOption( "max_breadcrumbs", DEFAULT_OPTIONS["max_breadcrumbs"], to_int_if_defined ),