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 9bd8c97 commit c781182Copy full SHA for c781182
cypress/support/link-cache.js
@@ -98,8 +98,9 @@ export class LinkCacheManager {
98
try {
99
fs.unlinkSync(cacheFile);
100
this.stats.cleanups++;
101
- } catch {
102
- // Ignore cleanup errors
+ } catch (cleanupError) {
+ // Ignoring cleanup errors as they are non-critical, but logging for visibility
103
+ console.warn(`Failed to clean up corrupted cache file: ${cleanupError.message}`);
104
}
105
this.stats.misses++;
106
return null;
0 commit comments