Ejemplo n.º 1
0
 private void AppDomainUnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     // TODO: Check correct exception handling
     try
     {
         Logger.LogException(e.ExceptionObject as Exception);
         TaskboardService.HandleConnectionException(e.ExceptionObject as Exception);
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
     }
 }
Ejemplo n.º 2
0
 private void HandleException(object sender, DispatcherUnhandledExceptionEventArgs e)
 {
     try
     {
         Logger.LogException(e.Exception);
         if (TaskboardService.HandleConnectionException(e.Exception))
         {
             e.Handled = true;
         }
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
     }
 }