added error

This commit is contained in:
Miodec 2022-03-25 13:37:44 +01:00
parent e2d409f1d3
commit 75305c51e2

View file

@ -15,6 +15,7 @@ try {
Auth = getAuth(app);
Analytics = getAnalytics(app);
} catch (e) {
console.error(e);
$("body").text(
"Failed to initialize Firebase. Are you sure you have the correct config in the firebase-config.ts file?"
);