Pārlūkot izejas kodu

Added logging when failing to load window

Kenric Nugteren 1 gadu atpakaļ
vecāks
revīzija
1345a6d275
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      prs.desktop/MainWindow.xaml.cs

+ 1 - 0
prs.desktop/MainWindow.xaml.cs

@@ -1507,6 +1507,7 @@ namespace PRSDesktop
                 }
                 catch (Exception e)
                 {
+                    CoreUtils.LogException(ClientFactory.UserID, e);
                     MessageBox.Show(string.Format("Unable to Load {0}!\n\n{1}\n{2}", app.Settings["CurrentPanel"], e.Message, e.StackTrace));
                 }
             }