wxr
2024-09-10 8e940d7f0c873cfedf7f6d8c885be98b96f1d046
HDL-ON_iOS/AppDelegate.cs
@@ -271,14 +271,14 @@
            AppDomain.CurrentDomain.UnhandledException += (sender, e) => {
                if(e.ExceptionObject is Exception exception)
                {
                    MainPage.Log("error","未处理的异常:" + exception.Message);
                    MainPage.Log("error", "未处理的异常:" + exception.Message + "\r\nStackTrace: " + exception.StackTrace);
                }
            };
            TaskScheduler.UnobservedTaskException += (sender, e) => {
                if (e.Exception is Exception exception)
                {
                    MainPage.Log("error", "未处理的异常:" + exception.Message);
                    MainPage.Log("error", "未处理的异常:" + exception.Message + "\r\nStackTrace: " + exception.StackTrace);
                }
            };
            #endregion