Skip to content

Commit 9d4b586

Browse files
committed
Also log error message to the console
1 parent a56b610 commit 9d4b586

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

BlueMapCore/src/main/webroot/js/libs/BlueMap.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ export default class BlueMap {
8888

8989
this.initModules();
9090
this.start();
91-
}).catch(error => this.onLoadError(error.toString()));
91+
}).catch(error => {
92+
this.onLoadError(error.toString())
93+
console.error(error);
94+
});
9295
}
9396

9497
initModules() {

0 commit comments

Comments
 (0)