Commit 4db3053f authored by Michael Kozono's avatar Michael Kozono

Merge branch 'da/add-logging-to-package-hunter-job' into 'master'

Log error message for report upload

See merge request gitlab-org/gitlab!82123
parents 01d2ad15 ef0ed26e
......@@ -32,7 +32,7 @@ function getMD5HashFromFile(data) {
if (err.name === 'CredentialsProviderError' || err.name === 'AuthorizationHeaderMalformed')
console.log('Could not upload the report. Are AWS credentials configured in ~/.aws/credentials?')
else
console.log('Unexpected error during upload.')
console.log('Unexpected error during upload: ', err.message)
process.exit(1)
}
})()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment