Skip to content

Commit 6f02035

Browse files
committed
remove debug stuff
1 parent b14ed67 commit 6f02035

File tree

2 files changed

+1
-6
lines changed
  • instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware
  • util/opentelemetry-util-http/src/opentelemetry/util/http

2 files changed

+1
-6
lines changed

instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware/otel_middleware.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ def process_exception(self, request, exception):
320320
# pylint: disable=too-many-branches
321321
# pylint: disable=too-many-locals
322322
def process_response(self, request, response):
323-
breakpoint()
324323
raise Exception('abc')
325324
if self._excluded_urls.url_disabled(request.build_absolute_uri("?")):
326325
return response

util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ class SanitizeValue:
7676
def __init__(self, sanitized_fields: Iterable[str]):
7777
self._sanitized_fields = sanitized_fields
7878
if self._sanitized_fields:
79-
try:
80-
self._regex = re_compile("|".join(sanitized_fields), RE_IGNORECASE)
81-
except Exception as e:
82-
breakpoint()
83-
raise e
79+
self._regex = re_compile("|".join(sanitized_fields), RE_IGNORECASE)
8480

8581
def sanitize_header_value(self, header: str, value: str) -> str:
8682
return (

0 commit comments

Comments
 (0)