Skip to content

Commit

Permalink
fix(check-horus-api): remove debug error
Browse files Browse the repository at this point in the history
  • Loading branch information
wisley7l committed Jul 18, 2024
1 parent 327ed10 commit 539735e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions functions/lib/horus/check-horus-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ const requestCheckHorus = (horus, isRetry) => new Promise((resolve, _reject) =>
resolve(false)
}
})
.catch((err) => {
.catch((_err) => {
if (!isRetry) {
setTimeout(() => requestCheckHorus(horus, true), 700)
}

if (err.response) {
console.log(err.response)
} else {
console.error(err)
}
// if (err.response) {
// console.log(err.response)
// } else {
// console.error(err)
// }

resolve(false)
})
Expand Down

0 comments on commit 539735e

Please sign in to comment.