private void OnError(object sender, Matrix.ExceptionEventArgs e) { var msg = e != null ? (e.Exception != null ? e.Exception.Message : "") : ""; Console.WriteLine("OnError: " + msg); if (!_onLogin) { StartConnectTimer(); } }
private static void OnXmlError(object sender, Matrix.ExceptionEventArgs e) { Console.WriteLine("OnXmlError"); Console.WriteLine(e.Exception.Message); Console.WriteLine(e.Exception.StackTrace); }
private static void OnXmlError(object sender, Matrix.ExceptionEventArgs e) { LogHelper.WriteConsole("OnXmlError"); LogHelper.WriteConsole(e.Exception.Message); LogHelper.WriteConsole(e.Exception.StackTrace); }