Bläddra i källkod

fix(ci): spec function with explicit exception

Andrew Mayorov 3 år sedan
förälder
incheckning
fed7c80a9a
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      apps/emqx/src/emqx_connection.erl

+ 1 - 0
apps/emqx/src/emqx_connection.erl

@@ -641,6 +641,7 @@ close_socket_ok(State) ->
     ok.
 
 %% tell truth about the original exception
+-spec maybe_raise_exception(any()) -> no_return().
 maybe_raise_exception(#{
     exception := Exception,
     context := Context,