diff --git a/cypress/support/link-cache.js b/cypress/support/link-cache.js index 9df6db0d6..e7df99d4e 100644 --- a/cypress/support/link-cache.js +++ b/cypress/support/link-cache.js @@ -182,7 +182,8 @@ export class LinkCacheManager { fs.unlinkSync(filePath); cleaned++; } - } catch { + } catch (error) { + console.warn(`Failed to process cache file "${filePath}": ${error.message}`); // Remove corrupted files fs.unlinkSync(filePath); cleaned++;