terry-xiaoyu hace 6 años
padre
commit
9e1f1b22c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/emqx_misc.erl

+ 1 - 1
src/emqx_misc.erl

@@ -83,7 +83,7 @@ pipeline([Fun|More], Input, State) ->
             {error, Reason, NState}
     catch
         Error:Reason:Stacktrace ->
-            ?LOG("pipeline ~p failed: ~p, stacktrace: ~p",
+            ?LOG(error, "pipeline ~p failed: ~p, stacktrace: ~p",
                 [{Fun, Input, State}, {Error, Reason}, Stacktrace]),
             {error, Reason, State}
     end.