wxr
2024-09-11 9bc0ea236cad9e5c86d0d6fe03eabb327b693096
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