log_error#
- movement.utils.logging.log_error(error, message, logger_name='movement')[source]#
Log an error message and return the Exception.
- Parameters:
error (Exception) – The error to log and return.
message (str) – The error message.
logger_name (str, optional) – The name of the logger to use. Defaults to “movement”.
- Returns:
The error that was passed in.
- Return type:
Exception