We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bed3ae3 commit 062b285Copy full SHA for 062b285
src/hackney_happy.erl
@@ -51,7 +51,7 @@ getbyname(Hostname, Type) ->
51
{error, nxdomain} = Error ->
52
case inet:parse_address(Hostname) of
53
{ok, IP} -> [IP];
54
- _ -> Error
+ _ -> []
55
end;
56
{error, _Reason} -> [];
57
Else ->
0 commit comments