diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js
index 92385b9..a6d490b 100644
--- a/dist/restore-only/index.js
+++ b/dist/restore-only/index.js
@@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
             }
             return response;
         }
+        catch (error) {
+            core.debug(`Error uploading cache archive: ${error}`);
+            throw error;
+        }
         finally {
             uploadProgress.stopDisplayTimer();
         }
diff --git a/dist/restore/index.js b/dist/restore/index.js
index 5623f5f..f35b1bd 100644
--- a/dist/restore/index.js
+++ b/dist/restore/index.js
@@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
             }
             return response;
         }
+        catch (error) {
+            core.debug(`Error uploading cache archive: ${error}`);
+            throw error;
+        }
         finally {
             uploadProgress.stopDisplayTimer();
         }
diff --git a/dist/save-only/index.js b/dist/save-only/index.js
index 8995e8f..b156461 100644
--- a/dist/save-only/index.js
+++ b/dist/save-only/index.js
@@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
             }
             return response;
         }
+        catch (error) {
+            core.debug(`Error uploading cache archive: ${error}`);
+            throw error;
+        }
         finally {
             uploadProgress.stopDisplayTimer();
         }
diff --git a/dist/save/index.js b/dist/save/index.js
index 5aee1c2..c271c54 100644
--- a/dist/save/index.js
+++ b/dist/save/index.js
@@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
             }
             return response;
         }
+        catch (error) {
+            core.debug(`Error uploading cache archive: ${error}`);
+            throw error;
+        }
         finally {
             uploadProgress.stopDisplayTimer();
         }