Log information about tasks after interruption

This commit is contained in:
Liza 2024-09-20 19:42:49 +02:00
parent e54732e798
commit 2aa14db916
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,7 @@
}, },
"TerritoryId": 1192, "TerritoryId": 1192,
"InteractionType": "WalkTo", "InteractionType": "WalkTo",
"AetheryteShortcut": "Living Memory - Leynode Mnemo",
"$": "Leynode Mnemo to Meso Terminal waypoint", "$": "Leynode Mnemo to Meso Terminal waypoint",
"SkipConditions": { "SkipConditions": {
"StepIf": { "StepIf": {

View File

@ -167,5 +167,9 @@ internal abstract class MiniTaskController<T>
} }
else else
_taskQueue.InterruptWith([new WaitAtEnd.WaitDelay()]); _taskQueue.InterruptWith([new WaitAtEnd.WaitDelay()]);
_logger.LogInformation("Remaining tasks after interruption:");
foreach (ITask task in _taskQueue.RemainingTasks)
_logger.LogInformation("- {TaskName}", task);
} }
} }