Skip to content

Commit

Permalink
Merge pull request #321 from knocte/dontHideExceptionDetails
Browse files Browse the repository at this point in the history
reporters: print all details of exception, not only the stack
  • Loading branch information
lefthandedgoat authored Dec 28, 2016
2 parents a0f0713 + e8fea28 commit cb3e8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/canopy/reporters.fs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ type ConsoleReporter() =
Console.WriteLine(ex.Message);
Console.Write("Url: ");
Console.WriteLine(url);
Console.WriteLine("Stack: ");
ex.StackTrace.Split([| "\r\n"; "\n" |], StringSplitOptions.None)
Console.WriteLine("Exception details: ");
ex.ToString().Split([| "\r\n"; "\n" |], StringSplitOptions.None)
|> Array.iter (fun trace ->
Console.ResetColor()
if trace.Contains(".FSharp.") || trace.Contains("canopy.core") || trace.Contains("OpenQA.Selenium") then
Expand Down

0 comments on commit cb3e8a6

Please sign in to comment.