From 1fbfdf3b8c7bd0f9c26e40d6cf7bc75038f3397b Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 11 Jul 2023 17:16:51 -0600 Subject: [PATCH] Added more logging to ThreadRestore --- thread.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thread.go b/thread.go index 799ea7c..692a11e 100644 --- a/thread.go +++ b/thread.go @@ -551,7 +551,9 @@ var ThreadRestore = func(ctx * Context, thread Thread) { return UpdateMoreStates(ctx, NodeList(thread.Children()), nodes, func(nodes NodeMap) error { for _, child := range(thread.Children()) { should_run := (thread.ChildInfo(child.ID())).(*ParentThreadInfo) + ctx.Log.Logf("thread", "THREAD_RESTORE: %s -> %s: %+v", thread.ID(), child.ID(), should_run) if should_run.Start == true && child.State() != "finished" { + ctx.Log.Logf("thread", "THREAD_RESTORED: %s -> %s", thread.ID(), child.ID()) ChildGo(ctx, thread, child, should_run.RestoreAction) } }