We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: One idea I saw regarding logging of exceptions: log from the exception itself.
import logging class MyError(Exception): "Helpful docs" def __init__(self, msg): logging.exception(msg) super().__init__(msg)
The above is as minimal as it gets, the whole thing was a bit more elaborate: Stackoverflow: comment to "Logging and raising an exception". Needs testing to see if the traceback is saved.
As later polish, this would cut down on code in plugins even further.
Originally posted by @hmpf in #24 (review)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Note: One idea I saw regarding logging of exceptions: log from the exception itself.
The above is as minimal as it gets, the whole thing was a bit more elaborate: Stackoverflow: comment to "Logging and raising an exception". Needs testing to see if the traceback is saved.
As later polish, this would cut down on code in plugins even further.
Originally posted by @hmpf in #24 (review)
The text was updated successfully, but these errors were encountered: