marie-ai
marie-ai copied to clipboard
Inconsistent error handling and propagation
Currently Processors will log and possibly rethrow base Exception
, this needs to be standardized across all processors and specific Exception
needs to be thrown.
Example :
try:
failedOp()
except Exception as e:
if silence_exceptions:
self.logger.warning(
"Failed OP ", exc_info=1
)
else:
raise FrameFailedException(
"Failed op exception"
) from e