feat: GUI 抛异常时的日志加个换行

This commit is contained in:
zzyyyl
2022-10-01 23:39:10 +08:00
parent 02400176ec
commit 644e2f6f8f

View File

@@ -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');
}
}
}