1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 15:07:53 +02:00

Throw error to console if app fails to boot

This commit is contained in:
Toby Zerner
2015-07-17 17:43:51 +09:30
parent f93ff7cb3f
commit 51946a069f

View File

@@ -39,6 +39,7 @@
app.boot(); app.boot();
} catch (e) { } catch (e) {
document.write('<div class="container">Something went wrong.</div>'); document.write('<div class="container">Something went wrong.</div>');
throw e;
} }
}); });
</script> </script>