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
Debug mode doesn't show tracebacks #4973
Comments
No, a bundle is not required to process this. Sigh |
Agreed, that needs looking into. It would help if you could explain what exactly you did that broke it that way so I can actually reproduce this error case and then fix the behaviour here. Also, could you please turn down the grumpiness a bit? Bugs happen, it's not like that this behaviour is intentional, so assuming that "requiring people to hack source code just to get useful error information" is the position here is just unfair. And most people reporting bugs here are not capable to decide whether a bundle is needed or not, so yes, the bot is annoying, but the alternative is having to spend even more time running after information needed to actually fix bugs, rather than spending it on fixing them. If you have a better idea how to make this work without a bot that can cause the one or other false positive, I'm all ears, because I'm not exactly happy with it either but it's the only thing I found that at least somewhat works. |
Also make InvalidYaml exceptions more helpful by including the full message from the triggering YAMLError. Closes #4973
Fixed by the above commits, to be included in 1.11.0. Example:
Also improved the logging in case of invalid YAML:
|
The problem
python3 -moctoprint serve --debug
--debug
IMHO, requiring people to hack source code just to get useful error information is not acceptable behavior.
Did the issue persist even in safe mode?
Yes, it did persist
If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)
No response
Version of OctoPrint
current master
Operating system running OctoPrint
not relevant
Printer model & used firmware incl. version
No response
Browser and version of browser, operating system running browser
No response
Checklist of files to include below
Additional information & file uploads
The text was updated successfully, but these errors were encountered: