This commit is contained in:
1 parent
e51fff653a
commit
d92c7a1964
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -1615,7 +1615,8 @@ async function pollJob(silent = false) {
|
||||
jobTimer = setTimeout(pollJob, 1500);
|
||||
} else if (st.finished_at) {
|
||||
if (silent) {
|
||||
el.textContent = st.exit_code === 0 ? "готово" : `ошибка (код ${st.exit_code})`;
|
||||
el.textContent = st.cancelled ? "отменено"
|
||||
: st.exit_code === 0 ? "готово" : `ошибка (код ${st.exit_code})`;
|
||||
return;
|
||||
}
|
||||
if (st.cancelled) {
|
||||
|
||||
Reference in new issue
Block a user