diff --git a/src/misc/ntCom.erl b/src/misc/ntCom.erl index 312c3fb..3b8e151 100644 --- a/src/misc/ntCom.erl +++ b/src/misc/ntCom.erl @@ -158,7 +158,7 @@ asyncSend(S, Data, OptList) when is_port(S), is_list(OptList) -> false -> % Port busy when nosuspend option was passed {error, busy}; true -> - true + ok catch error: _ -> {error, einval} end.