Merge PR #2588 into 16.0

Signed-off-by moylop260
pull/2597/head
OCA-git-bot 2023-03-18 11:44:14 +00:00
commit 0cd9e37f29
3 changed files with 5 additions and 3 deletions

View File

@ -4,4 +4,4 @@ dataclasses
mako
odoorpc
openupgradelib
sentry_sdk
sentry_sdk>=1.17.0

View File

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

View File

@ -77,7 +77,9 @@ 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("with_locals", DEFAULT_OPTIONS["with_locals"], None),
SentryOption(
"include_local_variables", DEFAULT_OPTIONS["include_local_variables"], None
),
SentryOption(
"max_breadcrumbs", DEFAULT_OPTIONS["max_breadcrumbs"], to_int_if_defined
),