Skip to content

Commit

Permalink
removing logging missing storage items
Browse files Browse the repository at this point in the history
  • Loading branch information
opus1269 committed Apr 29, 2019
1 parent 20d6ffd commit f7c0d1f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/scripts/chrome-extension-utils/scripts/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ export function get(key: string, def?: any) {
value = ChromeJSON.parse(item);
} else if (def !== undefined) {
value = def;
} else {
ChromeGA.error(`${key} not found`, 'ChromeStorage.get');
}
return value;
}
Expand All @@ -60,8 +58,6 @@ export function getInt(key: string, def?: number) {
}
} else if (def !== undefined) {
value = def;
} else {
ChromeGA.error(`${key} not found`, 'ChromeStorage.getInt');
}
return value;
}
Expand Down

0 comments on commit f7c0d1f

Please sign in to comment.