GilbertWong 6 anni fa
parent
commit
bf89646d93
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/emqx_ws_channel.erl

+ 1 - 1
src/emqx_ws_channel.erl

@@ -315,7 +315,7 @@ terminate(SockError, _Req, #state{keepalive   = Keepalive,
             emqx_protocol:terminate(Reason, ProtoState),
             exit(Reason);
         {_, Error} ->
-            ?LOG(error, "Un expected terminated for ~p", [Error]),
+            ?LOG(error, "Unexpected terminated for ~p", [Error]),
             emqx_protocol:terminate(Error, ProtoState),
             exit(unknown)
     end.