Skip to content

Add app.exception_traceback to context when an exception is thrown #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 25, 2020

Conversation

kat-humu
Copy link
Contributor

@kat-humu kat-humu commented Nov 3, 2020

What
Add app.exception_traceback to context when an exception is thrown

Why?
app.exception_type and app.exception_string give us insight into "what" exception occurred, adding app.exception_traceback gives more insight into "why" the exception occurred. It also keeps us from having to manually add context for every exception in our code.

@kat-humu kat-humu requested a review from a team November 3, 2020 23:08
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 @kat-humu!

@MikeGoldsmith
Copy link
Contributor

@kat-humu we had an issue with a component of our CI blocking forked builds. Please could you merge main / rebase your changes to get the updated workflow. Thanks.

@kat-humu
Copy link
Contributor Author

kat-humu commented Nov 6, 2020

Done @MikeGoldsmith! Thanks.

@MikeGoldsmith
Copy link
Contributor

Hi @kat-humu - thanks for rebasing your PR. To help us provide a consistent experience between beelines, I think we should maybe pick a key that isn't too specific for Python here. What do you think about app.exception_stacktrace - stacktrace is more general term that is used in many languages.

@kat-humu
Copy link
Contributor Author

Great idea @MikeGoldsmith! Will make the change now.

@MikeGoldsmith MikeGoldsmith merged commit c618625 into honeycombio:main Nov 25, 2020
@MikeGoldsmith
Copy link
Contributor

Great, thanks @kat-humu 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants