We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29660d9 commit ed221c8Copy full SHA for ed221c8
src/utils/diskCache.ts
@@ -31,7 +31,11 @@ class DiskCache {
31
32
return result.status === 200 ? result.data : null;
33
} catch (err) {
34
- Logger.error(`DiskCache: Error getting key ${key}: ${err}`);
+ const response = (err as AxiosError).response;
35
+ if (!response || response.status !== 404) {
36
+ Logger.error(`DiskCache: Error getting key ${key}: ${err}`);
37
+ }
38
+
39
return null;
40
}
41
0 commit comments