Skip to content

Commit

Permalink
oops, we need this.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Dec 20, 2024
1 parent 0e7aca1 commit 4173415
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sentry_sdk/integrations/aws_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def sentry_handler(aws_event, aws_context, *args, **kwargs):
configured_time = aws_context.get_remaining_time_in_millis()

with sentry_sdk.isolation_scope() as scope:
scope.set_transaction_name(
aws_context.function_name, source=TRANSACTION_SOURCE_COMPONENT
)
timeout_thread = None
with capture_internal_exceptions():
scope.clear_breadcrumbs()
Expand Down

0 comments on commit 4173415

Please sign in to comment.