mirror of https://github.com/actions/toolkit
Add error handling for failed uploads
parent
c6f1224d30
commit
ee1c07d0aa
|
@ -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…
Reference in New Issue