设置管理打印异常log

croire 3 years ago
parent 3938a3bfd2
commit 68025448b6

@ -71,7 +71,8 @@ namespace DownKyi.Core.Settings
} }
catch (Exception e) catch (Exception e)
{ {
Logging.LogManager.Error(e); Utils.Debugging.Console.PrintLine("GetSettings()发生异常: {0}", e);
Logging.LogManager.Error("SettingsManager", e);
return new AppSettings(); return new AppSettings();
} }
} }
@ -97,7 +98,8 @@ namespace DownKyi.Core.Settings
} }
catch (Exception e) catch (Exception e)
{ {
Logging.LogManager.Error(e); Utils.Debugging.Console.PrintLine("SetSettings()发生异常: {0}", e);
Logging.LogManager.Error("SettingsManager", e);
return false; return false;
} }
} }

Loading…
Cancel
Save