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
In the last instance the assessment 'Strange error' probably does not add any value or helps the log reader diagnose the issue. I suggest clarifying the message.
The text was updated successfully, but these errors were encountered:
All rucio commands are wrapped by an exception_handler functions.
As a consequence, the removed excepts should not occur in any normal
program flow or on expected error. It's more beneficial to have a full
trace in such cases. So let the exception propagate.
Motivation
Improve logged exceptions.
Modification
Where the logged messages is uninformative, using
logger.exception
could improve troubleshooting, for instance here:rucio/bin/rucio
Line 227 in 7820df4
and here:
rucio/bin/rucio
Line 2371 in 7820df4
In the last instance the assessment 'Strange error' probably does not add any value or helps the log reader diagnose the issue. I suggest clarifying the message.
The text was updated successfully, but these errors were encountered: