This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: