Skip to content

Commit

Permalink
[FIX] sentry: Fix KeyError 'request_bodies' on DEFAULT_OPTIONS
Browse files Browse the repository at this point in the history
See original migration for reference: getsentry/sentry-python@2b1d1cc
  • Loading branch information
hnavarro-kernet committed Nov 2, 2024
1 parent 935789f commit d4ebe51
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sentry/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ configured by prepending the argument name with *sentry_* in your Odoo config
file. Currently supported additional client arguments are: ``with_locals,
max_breadcrumbs, release, environment, server_name, shutdown_timeout,
in_app_include, in_app_exclude, default_integrations, dist, sample_rate,
send_default_pii, http_proxy, https_proxy, request_bodies, debug,
send_default_pii, http_proxy, https_proxy, max_request_body_size, debug,
attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate,
auto_enabling_integrations``.

Expand Down
2 changes: 1 addition & 1 deletion sentry/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get_sentry_options():
SentryOption("http_proxy", DEFAULT_OPTIONS["http_proxy"], None),
SentryOption("https_proxy", DEFAULT_OPTIONS["https_proxy"], None),
SentryOption("ignore_exceptions", DEFAULT_IGNORED_EXCEPTIONS, split_multiple),
SentryOption("request_bodies", DEFAULT_OPTIONS["request_bodies"], None),
SentryOption("max_request_body_size", DEFAULT_OPTIONS["max_request_body_size"], None),
SentryOption("attach_stacktrace", DEFAULT_OPTIONS["attach_stacktrace"], None),
SentryOption("ca_certs", DEFAULT_OPTIONS["ca_certs"], None),
SentryOption("propagate_traces", DEFAULT_OPTIONS["propagate_traces"], None),
Expand Down
2 changes: 1 addition & 1 deletion sentry/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ configured by prepending the argument name with *sentry_* in your Odoo config
file. Currently supported additional client arguments are: ``with_locals,
max_breadcrumbs, release, environment, server_name, shutdown_timeout,
in_app_include, in_app_exclude, default_integrations, dist, sample_rate,
send_default_pii, http_proxy, https_proxy, request_bodies, debug,
send_default_pii, http_proxy, https_proxy, max_request_body_size, debug,
attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate,
auto_enabling_integrations``.

Expand Down
2 changes: 1 addition & 1 deletion sentry/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
file. Currently supported additional client arguments are: <tt class="docutils literal">with_locals,
max_breadcrumbs, release, environment, server_name, shutdown_timeout,
in_app_include, in_app_exclude, default_integrations, dist, sample_rate,
send_default_pii, http_proxy, https_proxy, request_bodies, debug,
send_default_pii, http_proxy, https_proxy, max_request_body_size, debug,
attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate,
auto_enabling_integrations</tt>.</p>
<div class="section" id="example-odoo-configuration">
Expand Down

0 comments on commit d4ebe51

Please sign in to comment.