diff --git a/src/MeoAsstGui/Bootstrapper.cs b/src/MeoAsstGui/Bootstrapper.cs index 91254efa04..9f5cffd2a9 100644 --- a/src/MeoAsstGui/Bootstrapper.cs +++ b/src/MeoAsstGui/Bootstrapper.cs @@ -114,7 +114,7 @@ namespace MeoAsstGui protected override void OnUnhandledException(DispatcherUnhandledExceptionEventArgs e) { // 抛异常了,可以打些日志 - File.AppendAllText("gui.err.log", DateTime.Now.ToString() + ' ' + e.Exception.ToString()); + File.AppendAllText("gui.err.log", DateTime.Now.ToString() + ' ' + e.Exception.ToString() + '\n'); } } }