Skip to content
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

middleware.Recoverer, now with pretty stack traces #496

Merged
merged 2 commits into from Mar 24, 2020

Conversation

pkieltyka
Copy link
Member

@pkieltyka pkieltyka commented Mar 24, 2020

The stack traces have been a bit unwieldy so I've added a built-in decorator when printing stack traces caught by the middleware.Recoverer

Before:
image

Now:
image

@pkieltyka pkieltyka merged commit 98de1d8 into master Mar 24, 2020
@pkieltyka pkieltyka deleted the pretty-recoverer branch March 24, 2020 15:04
@pkieltyka
Copy link
Member Author

there is also a version by uncommenting two lines that could produce this result:

image

if folks prefer this lmk

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

1 participant