Skip to content

Commit

Permalink
[tests][eventpipe] Downstream Diagnostics roslyn analyzer IpcTraceTes…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdh1418 committed Feb 22, 2022
1 parent ae08d90 commit cbeb96c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/tracing/eventpipe/common/IpcTraceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ private int Validate()
{
source.Process();
}
catch (Exception e)
catch (Exception)
{
Logger.logger.Log($"Exception thrown while reading; dumping culprit stream to disk...");
eventPipeStream.DumpStreamToDisk();
// rethrow it to fail the test
throw e;
throw;
}
Logger.logger.Log("Stopping stream processing");
Logger.logger.Log($"Dropped {source.EventsLost} events");
Expand Down

0 comments on commit cbeb96c

Please sign in to comment.