chore: fix typo uncatched -> uncaught

This commit is contained in:
Zaiming (Stone) Shi 2022-06-13 14:48:27 +02:00
parent 17b2665a6d
commit e0aa8641af
1 changed files with 3 additions and 2 deletions

View File

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