In #848 we discussed whether we should rather use logging.Error messages or raise Error. raise Error is the correct way to do it in the MVS, as this also will make sure that the issue is parsed back to the EPA. We should check all logging.Error messages generated within the MVS and make sure they are intentional, or else translate them to raised Errors.
There are approx. 10 uses of logging.error that need to be checked. I already saw that some are really intended to be displayed to the user, and should not result in terminations.
In #848 we discussed whether we should rather use
logging.Error
messages orraise Error
.raise Error
is the correct way to do it in the MVS, as this also will make sure that the issue is parsed back to the EPA. We should check alllogging.Error
messages generated within the MVS and make sure they are intentional, or else translate them to raised Errors.