user-store: more debug logging

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-05 20:54:29 +03:00
1 parent 387bc07dbc
commit 9d42b2c025
1 file changed
+3 -1
+3 -1
View File
@@ -67,7 +67,9 @@ export class UserStore extends Singleton {
cwd: (app || remote.app).getPath("userData"),
watch: true, // enable onDidChange()-callback
});
this.fromStore(this.storeConfig.store);
const data = this.storeConfig.store;
logger.debug(`[STORE]: ${this.name} loaded with`, data);
this.fromStore(data);
}
protected bindEvents() {