Ask a question to get started
Enter to sendā¢Shift+Enter new line
Log error and re-raise it.
log_and_raise( error: Exception, operation: str, logger_instance: Optional[logging.Logger] = None ) -> NoReturn
error
Exception
The exception that occurred
operation
str
Description of the operation that failed
logger_instance
Optional[logging.Logger]
None
Specific logger to use (defaults to module logger)