-
Notifications
You must be signed in to change notification settings - Fork 53
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
Option to simplify stack trace logs #338
Comments
i'd also like to register my interest in this. testing fastapi and piccolo tends to produce some pretty hefty stack traces too, to the point where my terminal's scrollback gets filled up and i can't actually see what went wrong. |
RamonGiovane
changed the title
Simplify stack trace logs
Option to simplify stack trace logs
Feb 4, 2023
A created a fork with this option I made. Solves the problem for now: https://github.com/RamonGiovane/sward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. Fantastic framework.
But have you guys thought in an option to shorten the output log, especially the stacktrace?
Sometimes I'm only interested on the exception message but Ward formats the entire stack trace, and prints it out infinitely.
For instance, SQLAlchemy errors stack trace are so large that it blocks the scrolling of the VS Code console keeping me from reading what I really need to.
and this is a short one, sometimes, these red and yellow borded boxes take the entire screen
It's nice and pretty, but most of the time this pretty printed stuff is useless to me. It's some external module stuff, that doesn't help.
An option that only shows the file and the line number would be very nice. Like this:
Like Python's regular stacktrace
Thanks for all.
The text was updated successfully, but these errors were encountered: