From d40eb479f26f675e6bba61f178c429946adb8996 Mon Sep 17 00:00:00 2001 From: Bruno Juchli Date: Mon, 9 Feb 2015 08:12:30 +0100 Subject: [PATCH 1/2] Improved exception reporting: Entire exception instead of message only. --- Machine.Specifications.ConsoleRunner/ExceptionReporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machine.Specifications.ConsoleRunner/ExceptionReporter.cs b/Machine.Specifications.ConsoleRunner/ExceptionReporter.cs index a688522..b020ced 100644 --- a/Machine.Specifications.ConsoleRunner/ExceptionReporter.cs +++ b/Machine.Specifications.ConsoleRunner/ExceptionReporter.cs @@ -13,7 +13,7 @@ public ExceptionReporter(IConsole console) public void ReportException(Exception ex) { - _console.WriteLine(ex.Message); + _console.WriteLine("{0}", ex); } } } From 6859afb7df39554b9cc833df4a2383b6cfab689c Mon Sep 17 00:00:00 2001 From: Bruno Juchli Date: Mon, 9 Feb 2015 08:53:16 +0100 Subject: [PATCH 2/2] changelog entry added --- history.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/history.txt b/history.txt index a371471..06a840a 100644 --- a/history.txt +++ b/history.txt @@ -1,2 +1,3 @@ -Machine.Specifications.Runner.Console x +Machine.Specifications.Runner.Console 0.9.1 ----------------------------- +-improved reporting in case of unhandled exception: instead of only Exception.Message, entire Exception with stack-trace is printed to the console.