Commit 2ee86c62 authored by Kenan Sulayman's avatar Kenan Sulayman Committed by Fedor Indutny
Browse files

dns: verify argument is valid function in resolve

Don't use argument as callback if it's not a valid callback function.
Throw a valid exception instead explaining the issue. Adds to #7070
("DNS — Throw meaningful error(s)").
parent 56e80a37
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment