mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
feat: GUI 抛异常时的日志加个换行
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user