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
Radon currently captures most exceptions that occur while doing its work. This makes it a real pain to discover where a programming mistake was made. (See #170 for an example; there's no debug information.)
Could we add a flag or something to avoid suppressing exceptions? Or perhaps just avoid suppressing them altogether?
The text was updated successfully, but these errors were encountered:
@rwbogl Yes, that would be a good idea. It's not super simple because the error is caught in radon/__init__.py and there is no CLI information. A hack would be to check if "-d" or "--debug" is in sys.argv, and if so re-raise the exception. That's not a very good solution though.
Radon currently captures most exceptions that occur while doing its work. This makes it a real pain to discover where a programming mistake was made. (See #170 for an example; there's no debug information.)
Could we add a flag or something to avoid suppressing exceptions? Or perhaps just avoid suppressing them altogether?
The text was updated successfully, but these errors were encountered: