Skip to content

Commit

Permalink
fix: fixed direct wkd lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Apr 19, 2024
1 parent 54461d8 commit 571a27b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion helpers/process-email.js
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,10 @@ async function processEmail({ email, port = 25, resolver, client }) {
}
}
} catch (err) {
if (err.message === 'fetch failed') {
if (
err.message === 'fetch failed' ||
err.message.includes('Direct WKD lookup failed')
) {
logger.debug(err, {
user: email.user,
email: email._id,
Expand Down

0 comments on commit 571a27b

Please sign in to comment.