Skip to content

Commit 9bd8c97

Browse files
jstirnamanCopilot
andcommitted
Update cypress/support/link-cache.js
Co-authored-by: Copilot <[email protected]>
1 parent 7002643 commit 9bd8c97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cypress/support/link-cache.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ export class LinkCacheManager {
182182
fs.unlinkSync(filePath);
183183
cleaned++;
184184
}
185-
} catch {
185+
} catch (error) {
186+
console.warn(`Failed to process cache file "${filePath}": ${error.message}`);
186187
// Remove corrupted files
187188
fs.unlinkSync(filePath);
188189
cleaned++;

0 commit comments

Comments
 (0)