You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the Exception will show up in log files as a blank line (if using %(message) in logging formatter), which will eventually result in debugging headaches.
I think a checker for blank Exception messages would be useful (at least for me). Thank you!
The text was updated successfully, but these errors were encountered:
jamesbraza
changed the title
Request: checking for empty Exceptions
Request: checking for empty Exception messages
Apr 28, 2023
Closes#13. This can only be done for built-in exceptions, since there's
no way to tell if a variable is a class or an object.
Signed-off-by: Henry Schreiner <[email protected]>
If one throws an
Exception
like so:Then the
Exception
will show up in log files as a blank line (if using%(message)
inlogging
formatter), which will eventually result in debugging headaches.I think a checker for blank
Exception
messages would be useful (at least for me). Thank you!The text was updated successfully, but these errors were encountered: