Improve the pipeline error msg

This commit is contained in:
terry-xiaoyu 2019-09-20 21:40:15 +08:00
parent 9e1f1b22c3
commit d0908bc70f
1 changed files with 1 additions and 1 deletions

View File

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