Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
abivolmv authored Mar 28, 2023
1 parent f2b808e commit ac038db
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1151,15 +1151,16 @@ function retry(name, operation, customErrorMessages, maxAttempts) {
isRetryable = true;
errorMessage = error.message;
}
core.debug('=====helo====')
//core.debug(response)
core.debug(JSON.stringify(response, replacer(), ' ' ))
//core.debug(response.message)
core.debug(JSON.stringify(response.message, replacer(), ' '))
core.debug('=====bye====')
if (!isRetryable) {
core.info(`${name} - Error is not retryable`);
if (response) {
core.debug('=====helo====')
//core.debug(response)
core.debug(JSON.stringify(response, replacer(), ' ' ))
//core.debug(response.message)
core.debug(JSON.stringify(response.message))
core.debug('=====bye====')

utils_1.displayHttpDiagnostics(response);
}
break;
Expand Down

0 comments on commit ac038db

Please sign in to comment.