From c3d0d9130ad0e43bdeea58be62261ee820b324e2 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Mon, 2 Dec 2024 03:40:47 -0800 Subject: [PATCH] Troubleshoot --- dist/restore-only/index.js | 2 +- dist/restore/index.js | 2 +- dist/save-only/index.js | 2 +- dist/save/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index 978beff..4b1ebbe 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -6288,9 +6288,9 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { core.info(`Failed to save: ${typedError.message}`); } else { + core.warning(`Failed to save: ${typedError.stack}`); core.warning(`Failed to save: ${typedError.message}`); } - throw error; } finally { // Try to delete the archive to save space diff --git a/dist/restore/index.js b/dist/restore/index.js index cc4c94e..621379b 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -6288,9 +6288,9 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { core.info(`Failed to save: ${typedError.message}`); } else { + core.warning(`Failed to save: ${typedError.stack}`); core.warning(`Failed to save: ${typedError.message}`); } - throw error; } finally { // Try to delete the archive to save space diff --git a/dist/save-only/index.js b/dist/save-only/index.js index 15b0a76..c503408 100644 --- a/dist/save-only/index.js +++ b/dist/save-only/index.js @@ -6288,9 +6288,9 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { core.info(`Failed to save: ${typedError.message}`); } else { + core.warning(`Failed to save: ${typedError.stack}`); core.warning(`Failed to save: ${typedError.message}`); } - throw error; } finally { // Try to delete the archive to save space diff --git a/dist/save/index.js b/dist/save/index.js index 4484f36..ecba17f 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -6288,9 +6288,9 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { core.info(`Failed to save: ${typedError.message}`); } else { + core.warning(`Failed to save: ${typedError.stack}`); core.warning(`Failed to save: ${typedError.message}`); } - throw error; } finally { // Try to delete the archive to save space