Skip to content

Commit

Permalink
debug redirect check failures
Browse files Browse the repository at this point in the history
  • Loading branch information
gilzow committed Dec 10, 2024
1 parent 691aa92 commit a53f61e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/redirection-verification/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,14 @@ const verify = async () => {
} catch (reqerr) {
// core.debug(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}. More info: `)
core.info(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}. More info: `)
console.log(reqerr)
if(axios.isAxiosError(reqerr)) {
// core.debug(reqerr.toJSON())
core.info('Axios error.')
core.info(reqerr.toJSON())
} else {
console.log(reqerr)
core.info('Non-Axios error? ')
core.info(JSON.stringify(reqerr))
}

Expand Down

0 comments on commit a53f61e

Please sign in to comment.