mirror of
https://github.com/flarum/core.git
synced 2025-05-03 14:07:52 +02:00
Throw error to console if app fails to boot
This commit is contained in:
parent
f93ff7cb3f
commit
51946a069f
@ -39,6 +39,7 @@
|
||||
app.boot();
|
||||
} catch (e) {
|
||||
document.write('<div class="container">Something went wrong.</div>');
|
||||
throw e;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user