Skip to content

Commit

Permalink
adds info logging when redirect response fails
Browse files Browse the repository at this point in the history
  • Loading branch information
gilzow committed Dec 9, 2024
1 parent eb8656b commit 976b943
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/redirection-verification/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ const verify = async () => {
return response
} catch (reqerr) {
//core.warning(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}`)
// core.debug(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}. More info: `)
// core.debug(reqerr.toJSON())
core.info(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}. More info: `)
core.info(reqerr.toJSON())
let row = [{data: linkify(path, axios.defaults.baseURL)},{data: linkify( anchors[path].to, axios.defaults.baseURL) }]
tableData.push(row)
}
Expand Down

0 comments on commit 976b943

Please sign in to comment.