Update actors.worker: wrap reason and details when task fails