Skip to content

Commit

Permalink
Update instrumentation/aws_lambda/lib/opentelemetry/instrumentation/a…
Browse files Browse the repository at this point in the history
…ws_lambda/handler.rb

Co-authored-by: Lin Lin <[email protected]>
  • Loading branch information
xuan-cao-swi and cheempz authored Apr 9, 2024
1 parent 078618f commit 78a7040
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def initialize
resolve_original_handler
end

# We want to capture the error if user's handler is causing issue
# but our wrapper and handler shouldn't cause any issue
# Try to record and re-raise any exception from the wrapped function handler
# Instrumentation should never raise its own exception
def call_wrapped(event:, context:)
parent_context = extract_parent_context(event)

Expand Down

0 comments on commit 78a7040

Please sign in to comment.