Skip to content

Commit 2ff1ba2

Browse files
cleanup comments
1 parent b4c993e commit 2ff1ba2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sentry_sdk/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,12 +1529,11 @@ def run(self):
15291529
if integer_configured_timeout < self.configured_timeout:
15301530
integer_configured_timeout = integer_configured_timeout + 1
15311531

1532+
# Raising Exception after timeout duration is reached
15321533
if self.isolation_scope is not None and self.current_scope is not None:
15331534
with sentry_sdk.scope.use_isolation_scope(self.isolation_scope):
15341535
with sentry_sdk.scope.use_scope(self.current_scope):
15351536
try:
1536-
# with use_scope(self.current_scope):
1537-
# Raising Exception after timeout duration is reached
15381537
raise ServerlessTimeoutWarning(
15391538
"WARNING : Function is expected to get timed out. Configured timeout duration = {} seconds.".format(
15401539
integer_configured_timeout

0 commit comments

Comments
 (0)