Commit abe4c34c 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 e3ec2f7d
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