Add error handling for failed uploads

This commit is contained in:
Bassem Dghaidi authored and GitHub committed 2024-12-02 02:38:51 -08:00
1 parent b12049ae0c
commit 081d3c497e
1 file changed
+3
+3
View File
@@ -160,6 +160,9 @@ export async function uploadCacheArchiveSDK(
}
return response
} catch (error) {
core.debug(`Error uploading cache archive: ${error}`)
throw error
} finally {
uploadProgress.stopDisplayTimer()
}