Ask a question to get started
Enter to sendā¢Shift+Enter new line
Log warning for failed operation with fallback.
log_warning_and_fallback( error: Exception, operation: str, fallback_action: str, logger_instance: Optional[logging.Logger] = None ) -> None
error
Exception
The exception that occurred
operation
str
Description of the operation that failed
fallback_action
Description of fallback being taken
logger_instance
Optional[logging.Logger]
None
Specific logger to use (defaults to module logger)