Skip to content

Commit

Permalink
Log warning in case of unexpected message id
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubch1 committed Jul 1, 2020
1 parent 571028e commit 2afcc44
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,10 @@ private async Task SendMessageAndListenAndReportFinalizationResultAsync(IEnumera
var testMessagePayload = this.dataSerializer.DeserializePayload<TestMessagePayload>(message);
eventHandler.HandleLogMessage(testMessagePayload.MessageLevel, testMessagePayload.Message);
}
else
{
EqtTrace.Warning($"VsTestConsoleRequestSender.SendMessageAndListenAndReportAttachments: Unexpected message received {message.MessageType}.");
}
}
}
}
Expand Down

0 comments on commit 2afcc44

Please sign in to comment.