浏览代码

Added logging when failing to load window

Kenric Nugteren 1 年之前
父节点
当前提交
1345a6d275
共有 1 个文件被更改,包括 1 次插入0 次删除
  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));
                 }
             }