From 02b2ae0cde0e3a861c82315b71151e2385e8a0dc Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 28 Sep 2022 13:48:31 +0200 Subject: [PATCH] updated message --- frontend/src/ts/firebase.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/ts/firebase.ts b/frontend/src/ts/firebase.ts index 5a8284c71..ce587897b 100644 --- a/frontend/src/ts/firebase.ts +++ b/frontend/src/ts/firebase.ts @@ -14,11 +14,11 @@ try { } catch (e) { app = undefined; Auth = undefined; - console.error(e); + console.error("Authentication failed to initialize", e); const error = e as Error; Notifications.addBanner( - "Offline mode" + - (window.location.hostname === "localhost" ? ":" + error.message : ""), + "Authentication failed to initialize" + + (window.location.hostname === "localhost" ? ": " + error.message : ""), 0, undefined, false