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

Full tracebacks option #80

Open
skipor opened this issue Nov 12, 2017 · 0 comments
Open

Full tracebacks option #80

skipor opened this issue Nov 12, 2017 · 0 comments

Comments

@skipor
Copy link

skipor commented Nov 12, 2017

Currently, logger with trace() option prints standart exception traceback.
But sometimes, it's better to see full exception trace, that contains frames before try/except block. Or see the traceback, even there is no exception at all.
What about to add trace(trace='full') option, that prints such "full" traceback, instead usuall one?
Here is nice 'full_trace' function that returns such trace string.

Also, it would be nice to have 'full_error_trace=True' option, that forces add full tracebacks when there trace='error' option is set.

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

No branches or pull requests

1 participant