throw error on startup failure

This commit is contained in:
matth@ultra 2024-09-01 23:00:11 +02:00
parent 9f2cda4930
commit bbaa9b7855

View File

@ -39,6 +39,7 @@ async function setStagingPath() {
}
else {
showServerError("setStagingPath", response.status, text);
throw new Error("Can not get staging path");
}
}
@ -55,6 +56,8 @@ async function setFileList() {
// fileList.sort();
}
else {
showServerError("setFileList", response.status, text);
throw new Error("Can not get file list");
}
}