Merge PR #2650 into 16.0

Signed-off-by moylop260
pull/2661/head
OCA-git-bot 2023-06-07 16:22:51 +00:00
commit 554140c0a8
3 changed files with 3 additions and 5 deletions

View File

@ -6,4 +6,4 @@ odoorpc
openpyxl openpyxl
openupgradelib openupgradelib
pygount pygount
sentry_sdk>=1.17.0 sentry_sdk<=1.9.0

View File

@ -17,7 +17,7 @@
"installable": True, "installable": True,
"external_dependencies": { "external_dependencies": {
"python": [ "python": [
"sentry_sdk>=1.17.0", "sentry_sdk<=1.9.0",
] ]
}, },
"depends": [ "depends": [

View File

@ -77,9 +77,7 @@ def get_sentry_options():
SentryOption("dsn", "", str.strip), SentryOption("dsn", "", str.strip),
SentryOption("transport", DEFAULT_OPTIONS["transport"], select_transport), SentryOption("transport", DEFAULT_OPTIONS["transport"], select_transport),
SentryOption("logging_level", DEFAULT_LOG_LEVEL, get_sentry_logging), SentryOption("logging_level", DEFAULT_LOG_LEVEL, get_sentry_logging),
SentryOption( SentryOption("with_locals", DEFAULT_OPTIONS["with_locals"], None),
"include_local_variables", DEFAULT_OPTIONS["include_local_variables"], None
),
SentryOption( SentryOption(
"max_breadcrumbs", DEFAULT_OPTIONS["max_breadcrumbs"], to_int_if_defined "max_breadcrumbs", DEFAULT_OPTIONS["max_breadcrumbs"], to_int_if_defined
), ),