From e0aa8641af3790fdd9eeb78713f439eab9455098 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Mon, 13 Jun 2022 14:48:27 +0200 Subject: [PATCH] chore: fix typo uncatched -> uncaught --- apps/emqx_gateway/src/emqx_gateway_http.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/emqx_gateway/src/emqx_gateway_http.erl b/apps/emqx_gateway/src/emqx_gateway_http.erl index 5cddc9305..9d34ade86 100644 --- a/apps/emqx_gateway/src/emqx_gateway_http.erl +++ b/apps/emqx_gateway/src/emqx_gateway_http.erl @@ -579,8 +579,9 @@ with_gateway(GwName0, Fun) -> return_http_error(400, "Invalid bind address"); Class:Reason:Stk -> ?SLOG(error, #{ - msg => "uncatched_error", - reason => {Class, Reason}, + msg => "uncaught_exception", + exception => Class, + reason => Reason, stacktrace => Stk }), reason2resp(Reason)