Skip to content

Commit

Permalink
Don't lose the stack when rethrowing exceptions from TestHost (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfederm authored and codito committed Sep 10, 2017
1 parent 468d4b2 commit ef95151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testhost.x86/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void Main(string[] args)
EqtTrace.Error("TestHost: Error occured during initialization of TestHost : {0}", ex);

// Throw exception so that vstest.console get the exception message.
throw ex;
throw;
}
finally
{
Expand Down

0 comments on commit ef95151

Please sign in to comment.