chore: minor logging fix

This commit is contained in:
William Yang 2022-05-05 16:04:51 +02:00
parent 55cdce955c
commit 5ffce8d619
1 changed files with 1 additions and 1 deletions

View File

@ -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})