mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-05 19:26:07 +08:00
Add error handling for failed uploads
This commit is contained in:
parent
c6f1224d30
commit
ee1c07d0aa
3
packages/cache/src/internal/uploadUtils.ts
vendored
3
packages/cache/src/internal/uploadUtils.ts
vendored
@ -160,6 +160,9 @@ export async function uploadCacheArchiveSDK(
|
||||
}
|
||||
|
||||
return response
|
||||
} catch (error) {
|
||||
core.debug(`Error uploading cache archive: ${error}`)
|
||||
throw error
|
||||
} finally {
|
||||
uploadProgress.stopDisplayTimer()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user