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 23, 2024
1 parent 9fbb94f commit 0140a84
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 0140a84

Please sign in to comment.