fix(ui): a failed step restart names the run and step it was for
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -112,7 +112,7 @@ async function restartFrom(from: string): Promise<void> {
|
||||
await api.taskAction(watched.value, "retry", { resume_from: from });
|
||||
await refresh();
|
||||
} catch (err) {
|
||||
restartError.value = describeError(err, errors.workflows.editor.restartFailed);
|
||||
restartError.value = errors.workflows.editor.restartFailed(watched.value, from, describeError(err, errors.common.unknown));
|
||||
} finally {
|
||||
restarting.value = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user