From 9bd8c978a8a12cbb8dab7dc8b08714d01e8aab77 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Tue, 29 Jul 2025 10:44:58 -0500 Subject: [PATCH] Update cypress/support/link-cache.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- cypress/support/link-cache.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++;