//Handles any error while fetching the live streaming output
 private void EventSource_Error(object sender, EventSource.ServerSentErrorEventArgs e)
 {
     // error connecting to Falkonry service for output streaming
     Assert.AreEqual(e.Exception.Message, null, "Error listening for live data");
 }
示例#2
0
 private void Error(object sender, EventSource.ServerSentErrorEventArgs e)
 => WriteLine("Error : " + e.Exception.ToString());