Update upload-lib.ts

This commit is contained in:
Robert 2020-05-01 11:59:44 +01:00 committed by Robert Brignull
parent a23cb1d61a
commit 129ce28897
2 changed files with 2 additions and 2 deletions

2
lib/upload-lib.js generated
View file

@ -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;

View file

@ -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;