mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Throw error to console if app fails to boot
This commit is contained in:
parent
0a1191d56c
commit
130aa6ce72
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user