mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Log error stack on bootstrap failure
Log the stack of the error caught during failure to load the web interface. This ensure the error is printed to the console instead of "[fatal] undefined".
This commit is contained in:
1 parent
4efd09de31
commit
a3729504e5
1 file changed
+1
-1
@@ -72,4 +72,4 @@ async function load() {
|
||||
ReactDOM.render(<App control={control}/>, document.getElementById("root"));
|
||||
}
|
||||
|
||||
load().catch((err) => logger.fatal(err));
|
||||
load().catch((err) => logger.fatal(err.stack));
|
||||
Reference in new issue
Block a user