Add error handling for failed uploads

This commit is contained in:
Bassem Dghaidi 2024-12-02 02:38:51 -08:00 committed by GitHub
parent c6f1224d30
commit ee1c07d0aa

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()
}