pub fn log_task_error(task_name: &str, e: &Error)
Logs that there was an error in a task tracing::error!.
tracing::error!