mirror of
https://gitea.com/actions/cache.git
synced 2026-12-03 19:49:07 +08:00
Add error handling for failed uploads
This commit is contained in:
1 parent
2df79913f5
commit
bf08ee6b81
4 files changed
+16
No files matched your search
Vendored
+4
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user