Skip to content

Commit

Permalink
chore: debug log error
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed May 8, 2024
1 parent 02814fc commit d5e276e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/image-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ fetch(
for (const result of results) console.log(result);
break;
} catch (error) {
console.error(error);
if (
error.cause.code == 'UND_ERR_RESPONSE_STATUS_CODE' &&
(error.cause.statusCode === 401 || error.cause.statusCode === 403) &&
Expand Down

0 comments on commit d5e276e

Please sign in to comment.