diff --git a/src/Interactive/Features/Interactive/Core/InteractiveHost.Service.cs b/src/Interactive/Features/Interactive/Core/InteractiveHost.Service.cs index 1110944e1037c9bbd12dc45377bd2533ef8cc779..8517809ba6097807b833ece9955a69a28026f122 100644 --- a/src/Interactive/Features/Interactive/Core/InteractiveHost.Service.cs +++ b/src/Interactive/Features/Interactive/Core/InteractiveHost.Service.cs @@ -820,8 +820,7 @@ private async Task> ExecuteOnUIThread(Script script, } catch (Exception e) { - // TODO (tomat): format exception - Console.Error.WriteLine(e); + Console.Error.WriteLine(_replServiceProvider.ObjectFormatter.FormatUnhandledException(e)); return null; } }))).ConfigureAwait(false);