From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期五, 12 六月 2020 09:22:04 +0800
Subject: [PATCH] 2020.06.12

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlThreadLogic.cs |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlThreadLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlThreadLogic.cs
index 42ad680..5b405df 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlThreadLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlThreadLogic.cs
@@ -54,14 +54,13 @@
                         Application.RunOnMainThread(() =>
                         {
                             //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け
-                            var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost));
+                            var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnKnownError));
                             alert.Show();
                         });
                     }
                     //Log鍑哄姏
                     string msg = "褰撳墠婵�娲荤殑鐣岄潰[" + nowFormId + "]";
-                    HdlLogLogic.Current.WriteLog(-1, msg);
-                    HdlLogLogic.Current.WriteLog(ex);
+                    HdlLogLogic.Current.WriteLog(ex, msg);
                 }
             })
             { IsBackground = true }.Start();
@@ -88,13 +87,12 @@
                         if (mode == ShowErrorMode.YES)
                         {
                             //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け
-                            var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost));
+                            var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnKnownError));
                             alert.Show();
                         }
                         //Log鍑哄姏
                         string msg = "褰撳墠婵�娲荤殑鐣岄潰[" + nowFormId + "]";
-                        HdlLogLogic.Current.WriteLog(-1, msg);
-                        HdlLogLogic.Current.WriteLog(ex);
+                        HdlLogLogic.Current.WriteLog(ex, msg);
                     }
                 });
                 
@@ -121,14 +119,13 @@
                     if (mode == ShowErrorMode.YES)
                     {
                         //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け
-                        var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost));
+                        var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnKnownError));
                         alert.Show();
                     }
 
                     //Log鍑哄姏
                     string msg = "褰撳墠婵�娲荤殑鐣岄潰[" + nowFormId + "]";
-                    HdlLogLogic.Current.WriteLog(-1, msg);
-                    HdlLogLogic.Current.WriteLog(ex);
+                    HdlLogLogic.Current.WriteLog(ex, msg);
                 }
             });
         }

--
Gitblit v1.8.0