Adding structured information in task_error