mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-10 00:44:10 +08:00
修复自动幽境危战停止时弹出错误提示窗口的问题
This commit is contained in:
@@ -67,7 +67,18 @@ public class AutoStygianOnslaughtTask : ISoloTask
|
||||
Init();
|
||||
Notify.Event(NotificationEvent.DomainStart).Success($"{Name}启动");
|
||||
|
||||
await DoDomain();
|
||||
try
|
||||
{
|
||||
await DoDomain();
|
||||
}
|
||||
catch (TaskCanceledException)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.LogInformation(e.Message);
|
||||
}
|
||||
|
||||
await Delay(3000, ct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user