Skip to content

Commit d338427

Browse files
committed
🧹 remove redundant logging
1 parent fe10df2 commit d338427

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/cache/storage-cache.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ export class StorageCache implements ContactCache {
155155
key: string,
156156
getFreshValue: (key: string) => Promise<Contact[]>
157157
): Promise<Contact[]> {
158-
infoLogger(LOG_PREFIX, `Setting cache state to FETCHING`, key);
159-
160158
await this.setCacheState(
161159
key,
162160
CacheItemStateType.FETCHING,
@@ -167,8 +165,6 @@ export class StorageCache implements ContactCache {
167165
const freshValue = await getFreshValue(key);
168166

169167
await this.set(key, freshValue);
170-
infoLogger(LOG_PREFIX, `Setting cache state to CACHED`, key);
171-
172168
await this.setCacheState(key, CacheItemStateType.CACHED);
173169

174170
return freshValue;

0 commit comments

Comments
 (0)