Skip to content

Commit

Permalink
api/cannon: Make DNS resolution errors non fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Apr 4, 2024
1 parent efe1ea4 commit 03ca76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/webhooks/cannon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default class WebhookCannon {
user.admin
).catch((e) => {
console.error("error checking if is local IP: ", e);
throw e;
return { ips: [], isLocal: false };
});

if (isLocal) {
Expand Down

0 comments on commit 03ca76d

Please sign in to comment.