mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-27 22:49:46 +08:00
using debug log level to print StackTrace
This commit is contained in:
@@ -103,7 +103,7 @@ public class AutoDomainTask
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.LogInformation(e.Message);
|
||||
Logger.LogError(e.Message);
|
||||
Logger.LogDebug(e.StackTrace);
|
||||
}
|
||||
finally
|
||||
@@ -296,11 +296,11 @@ public class AutoDomainTask
|
||||
return;
|
||||
}
|
||||
|
||||
var ms = TaskContext.Instance().Config.AutoDomainConfig.FightEndDelay;
|
||||
if (ms > 0)
|
||||
var s = TaskContext.Instance().Config.AutoDomainConfig.FightEndDelay;
|
||||
if (s > 0)
|
||||
{
|
||||
Sleep(1000, _taskParam.Cts);
|
||||
Logger.LogInformation("战斗结束后等待 {Ms} 毫秒", ms);
|
||||
Logger.LogInformation("战斗结束后等待 {Second} 秒", s);
|
||||
Sleep((int)(s * 1000), _taskParam.Cts);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user