-
Notifications
You must be signed in to change notification settings - Fork 21
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
[FEAT]: Better error handling with more verbose error messages #315
Comments
The goal here is to make all errors and most exceptions easier to understand for the end-user. |
As well as reduce the amount of "noise" in the errors. Some of them will need to be made smaller. |
Things to do:
|
One idea is to pipe the stacktrace of the third-party libraries (pyvisa, etc.) into the log file with the DEBUG logging level. Then the stdout/stderr could just show the understandable error/exception message. This only applies to the areas where we know there are bound to be errors, since this is Python, it isn't possible to account for all potential uncaught exceptions. |
Areas of code to work on:
|
Released in v3.1 |
Description
It would be nice if the failures printed out by methods similar to
query_response()
could print out a little more information and use some common code for raising and formatting errors.Additional Information
No response
The text was updated successfully, but these errors were encountered: