From a0a8de2a8d74da4ab848376278ff96a2b5874e0b Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Tue, 11 Oct 2022 08:12:12 +1100 Subject: [PATCH] fix (boot): boot error --- client/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/index.js b/client/index.js index ba646876..c85b6b48 100644 --- a/client/index.js +++ b/client/index.js @@ -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);