Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Conversation

@fitzoh
Copy link
Contributor

@fitzoh fitzoh commented Jan 19, 2021

Trace field names match the ones used in Tracer:

span.add_context({
"app.exception_type": str(type(e)),
"app.exception_string": stringify_exception(e),
"app.exception_stacktrace": traceback.format_exc(),
})

closes #153

@fitzoh fitzoh requested a review from a team January 19, 2021 01:23
Copy link
Contributor

@MikeGoldsmith MikeGoldsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - thanks @fitzoh!

@MikeGoldsmith MikeGoldsmith merged commit 1a7706e into honeycombio:main Jan 21, 2021
@fitzoh fitzoh deleted the lambda-exceptions branch January 21, 2021 17:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Capture exception details for lambda middleware

2 participants