Add error handling for failed uploads
This commit is contained in:
+3
@@ -160,6 +160,9 @@ export async function uploadCacheArchiveSDK(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
} catch (error) {
|
||||||
|
core.debug(`Error uploading cache archive: ${error}`)
|
||||||
|
throw error
|
||||||
} finally {
|
} finally {
|
||||||
uploadProgress.stopDisplayTimer()
|
uploadProgress.stopDisplayTimer()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user