Also log error message to the console

This commit is contained in:
Joshua Rodriguez 2020-01-19 08:27:27 -08:00
parent a56b610afb
commit 9d4b586686

View File

@ -88,7 +88,10 @@ export default class BlueMap {
this.initModules(); this.initModules();
this.start(); this.start();
}).catch(error => this.onLoadError(error.toString())); }).catch(error => {
this.onLoadError(error.toString())
console.error(error);
});
} }
initModules() { initModules() {