diff --git a/src/Nethermind/Nethermind.Logging/SimpleConsoleLogger.cs b/src/Nethermind/Nethermind.Logging/SimpleConsoleLogger.cs index c80b2196911e..6b732fccb1bf 100644 --- a/src/Nethermind/Nethermind.Logging/SimpleConsoleLogger.cs +++ b/src/Nethermind/Nethermind.Logging/SimpleConsoleLogger.cs @@ -34,7 +34,7 @@ public void Trace(string text) public void Error(string text, Exception ex = null) { - if (IsError) Console.Error.WriteLine(DateTime.Now.ToString(dateFormat) + text); + if (IsError) Console.Error.WriteLine(DateTime.Now.ToString(dateFormat) + text + (ex is not null ? " " + ex : string.Empty)); } private void WriteEntry(string text)