pub fn trace_task_error( task_id: TaskId, task_name: &str, error: &dyn Error, context: &str, worker_id: Option<&str>, attempt: Option<u32>, )
Trace task error with detailed context and error chain