GilbertWong 6 년 전
부모
커밋
bf89646d93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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),
             emqx_protocol:terminate(Reason, ProtoState),
             exit(Reason);
             exit(Reason);
         {_, Error} ->
         {_, Error} ->
-            ?LOG(error, "Un expected terminated for ~p", [Error]),
+            ?LOG(error, "Unexpected terminated for ~p", [Error]),
             emqx_protocol:terminate(Error, ProtoState),
             emqx_protocol:terminate(Error, ProtoState),
             exit(unknown)
             exit(unknown)
     end.
     end.