Log TLS errors as [debug] messages only

Closes #652 and closes #679.
This commit is contained in:
Holger Weiss 2015-09-24 12:00:59 +02:00
parent 89b3471742
commit 484fd1f51f
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ handle_info({Tag, _TCPSocket, Data},
?HIBERNATE_TIMEOUT};
{error, Reason} ->
if is_binary(Reason) ->
?ERROR_MSG("TLS error = ~s", [Reason]);
?DEBUG("TLS error = ~s", [Reason]);
true ->
ok
end,