mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 18:23:16 +08:00
Add test case for when the uploadFile fails on the blobclient
This commit is contained in:
@@ -29,7 +29,7 @@ export async function uploadCacheFile(
|
||||
|
||||
if (resp._response.status >= 400) {
|
||||
throw new InvalidResponseError(
|
||||
`Upload failed with status code: ${resp._response.status}`
|
||||
`Upload failed with status code ${resp._response.status}`
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user