-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
feature requestSmaller user requestSmaller user request
Description
There are currently 117 places in ARMI where runLog.error() is called, and it logs a message at the error level. For instance:
Line 190 in 0e830d2
| runLog.error(f"Error in setting {self.name}, val: {val}.") |
armi/armi/reactor/assemblyParameters.py
Line 139 in 0e830d2
| runLog.error("Values stored in the `notes` parameter must be strings of less than 1000 characters!") |
But what is the purpose of "logging an error?" If you don't raise Exception, then this is really just a warning message.
So, let's change
runLog.error()to raise the error after logging the message.
NOTE: The original discussion is here.
Metadata
Metadata
Assignees
Labels
feature requestSmaller user requestSmaller user request