Skip to content

Commit

Permalink
fix(3951): typo on errorede dns lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Dec 17, 2024
1 parent 2c36442 commit f2b64e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interceptor/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ module.exports = interceptorOpts => {

instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {
if (err) {
return handler.onError(err)
return handler.onResponseError(null, err)
}

let dispatchOpts = null
Expand Down

0 comments on commit f2b64e4

Please sign in to comment.