Update upload-lib.ts
This commit is contained in:
parent
a23cb1d61a
commit
129ce28897
2 changed files with 2 additions and 2 deletions
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -93,7 +93,7 @@ async function uploadPayload(payload) {
|
|||
}
|
||||
else {
|
||||
// If the upload fails with 5xx then we assume it is a temporary problem
|
||||
// with turbo-scan and not an error that the user has caused or can fix.
|
||||
// and not an error that the user has caused or can fix.
|
||||
// We avoid marking the job as failed to avoid breaking CI workflows.
|
||||
core.error('Upload failed (' + requestID + '): (' + statusCode + ') ' + await res.readBody());
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ async function uploadPayload(payload) {
|
|||
|
||||
} else {
|
||||
// If the upload fails with 5xx then we assume it is a temporary problem
|
||||
// with turbo-scan and not an error that the user has caused or can fix.
|
||||
// and not an error that the user has caused or can fix.
|
||||
// We avoid marking the job as failed to avoid breaking CI workflows.
|
||||
core.error('Upload failed (' + requestID + '): (' + statusCode + ') ' + await res.readBody());
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue