Merge pull request #7874 from qzhuyan/dev/william/logging-fix
chore: minor logging fix
This commit is contained in:
commit
7dcdae4672
|
@ -628,7 +628,7 @@ terminate(
|
||||||
emqx_congestion:cancel_alarms(Socket, Transport, Channel1),
|
emqx_congestion:cancel_alarms(Socket, Transport, Channel1),
|
||||||
emqx_channel:terminate(Reason, Channel1),
|
emqx_channel:terminate(Reason, Channel1),
|
||||||
close_socket_ok(State),
|
close_socket_ok(State),
|
||||||
?TRACE("SOCKET", "tcp_socket_terminated", #{reason => Reason})
|
?TRACE("SOCKET", "emqx_connection_terminated", #{reason => Reason})
|
||||||
catch
|
catch
|
||||||
E:C:S ->
|
E:C:S ->
|
||||||
?tp(warning, unclean_terminate, #{exception => E, context => C, stacktrace => S})
|
?tp(warning, unclean_terminate, #{exception => E, context => C, stacktrace => S})
|
||||||
|
|
Loading…
Reference in New Issue