mirror of
https://github.com/actions/deploy-pages.git
synced 2026-04-04 08:42:11 +00:00
Prefer elevated RequestError#status, if present
This commit is contained in:
@@ -167,7 +167,7 @@ class Deployment {
|
|||||||
|
|
||||||
// build customized error message based on server response
|
// build customized error message based on server response
|
||||||
if (error.response) {
|
if (error.response) {
|
||||||
errorStatus = error.response.status
|
errorStatus = error.status || error.response.status
|
||||||
|
|
||||||
errorCount++
|
errorCount++
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user