We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f3b56a commit 63c4f15Copy full SHA for 63c4f15
1 file changed
sentry_sdk/integrations/wsgi.py
@@ -174,24 +174,7 @@ def __call__(
174
)
175
except BaseException:
176
reraise(*_capture_exception())
177
- finally:
178
- if isinstance(span, StreamedSpan):
179
- already_set = (
180
- span.name != _DEFAULT_TRANSACTION_NAME
181
- and span.get_attributes().get("sentry.span.source")
182
- in [
183
- SegmentSource.COMPONENT.value,
184
- SegmentSource.ROUTE.value,
185
- SegmentSource.CUSTOM.value,
186
- ]
187
- )
188
- if not already_set:
189
- with capture_internal_exceptions():
190
- span.name = _DEFAULT_TRANSACTION_NAME
191
- span.set_attribute(
192
- "sentry.span.source",
193
194
+
195
finally:
196
_wsgi_middleware_applied.set(False)
197
0 commit comments