Skip to content

Commit 106062c

Browse files
committed
enh: Report task ID in failure message
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 60809e1 commit 106062c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assistant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export async function openAssistantForm({
100100
view.selectedTaskId = finishedTask?.id
101101
}
102102
} else if (finishedTask.status === TASK_STATUS_STRING.failed) {
103-
showError(t('assistant', 'Your task has failed'))
103+
showError(t('assistant', 'Your task with ID {id} has failed', { id: finishedTask.id }))
104104
console.error('[assistant] Task failed', finishedTask)
105105
view.outputs = null
106106
}

0 commit comments

Comments
 (0)