Skip to content

Commit

Permalink
Changed Akka.Streams backoff error logging to include full exception …
Browse files Browse the repository at this point in the history
…message (#4472)

* Changed Akka.Streams backoff error logging to include full exception message

* Use dedicated warning message for exceptions
  • Loading branch information
Horusiath committed Jun 16, 2020
1 parent 3a6ddc8 commit 8bc2a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka.Streams/Dsl/Restart.cs
Expand Up @@ -494,7 +494,7 @@ protected SubSinkInlet<TOut> CreateSubInlet(Outlet<TOut> outlet)
Fail(Out, ex);
else
{
Log.Warning($"Restarting graph due to failure. Stacktrace: {ex.StackTrace}");
Log.Warning(ex, "Restarting graph due to failure.");
ScheduleRestartTimer();
}
}));
Expand Down

0 comments on commit 8bc2a1c

Please sign in to comment.