1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Add more logging

This commit is contained in:
tobspr
2020-08-10 15:22:02 +02:00
parent e0ba1452b2
commit 2ee4f2efc7
2 changed files with 6 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ export class PlatformWrapperImplBrowser extends PlatformWrapperInterface {
return new Promise(resolve => {
logger.log("Detecting storage");
if (!window.indexedDB || G_IS_DEV) {
if (!window.indexedDB) {
logger.log("Indexed DB not supported");
this.app.storage = new StorageImplBrowser(this.app);
resolve();