Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
that looked way too scary on daicard
Browse files Browse the repository at this point in the history
  • Loading branch information
LayneHaber committed Mar 21, 2020
1 parent 8ebea49 commit 603a2c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/store/src/wrappers/asyncStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class WrappedAsyncStorage implements WrappedStorage {
try {
await this.backupService.backup({ path: key, value });
} catch (e) {
console.error(`Could not save ${key} to backup service. Error: ${e.stack || e.message}`);
console.info(`Could not save ${key} to backup service. Error: ${e.stack || e.message}`);
}
}
this.data[`${this.prefix}${this.separator}${key}`] = value;
Expand Down
2 changes: 1 addition & 1 deletion modules/store/src/wrappers/fileStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class FileStorage implements WrappedStorage {
try {
await this.backupService.backup({ path: key, value: data });
} catch (e) {
console.error(`Could not save ${key} to backup service. Error: ${e.stack || e.message}`);
console.info(`Could not save ${key} to backup service. Error: ${e.stack || e.message}`);
}
}
const filePath = await this.getFilePath(key);
Expand Down
2 changes: 1 addition & 1 deletion modules/store/src/wrappers/localStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class WrappedLocalStorage implements WrappedStorage {
try {
await this.backupService.backup({ path: key, value });
} catch (e) {
console.error(`Could not save ${key} to backup service. Error: ${e.stack || e.message}`);
console.info(`Could not save ${key} to backup service. Error: ${e.stack || e.message}`);
}
}
this.localStorage.setItem(`${this.prefix}${this.separator}${key}`, value);
Expand Down

0 comments on commit 603a2c2

Please sign in to comment.