mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
feat: GUI 抛异常时打点日志
This commit is contained in:
@@ -114,6 +114,7 @@ namespace MeoAsstGui
|
||||
protected override void OnUnhandledException(DispatcherUnhandledExceptionEventArgs e)
|
||||
{
|
||||
// 抛异常了,可以打些日志
|
||||
File.AppendAllText("gui.err.log", DateTime.Now.ToString() + ' ' + e.Exception.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user