fix (boot): boot error

This commit is contained in:
Mickael Kerjean
2022-10-11 08:12:12 +11:00
parent 0774023ace
commit a0a8de2a8d

View File

@ -22,7 +22,7 @@ import "./assets/css/reset.scss";
}
return removeLoader().then(render);
}).catch((e) => {
const msg = navigator.onLine === false ? "OFFLINE" : "CAN'T LOAD FILESTASH";
const msg = navigator.onLine === false ? "OFFLINE" : e.message || "CAN'T LOAD";
Log.report(msg + " - " + (e && e.message), location.href);
return removeLoaderWithAnimation().then(() => {
$error(msg);