From 662b7f7115d0ae088add4270df7638f8c3afdaa6 Mon Sep 17 00:00:00 2001 From: ziggie Date: Tue, 23 Jul 2024 11:54:23 +0200 Subject: [PATCH] graph: add log lines for stop and start func. --- graph/builder.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graph/builder.go b/graph/builder.go index addec9e1b55..06e86b24bd9 100644 --- a/graph/builder.go +++ b/graph/builder.go @@ -300,6 +300,8 @@ func (b *Builder) Start() error { b.wg.Add(1) go b.networkHandler() + log.Debug("Builder started") + return nil } @@ -312,7 +314,6 @@ func (b *Builder) Stop() error { } log.Info("Builder shutting down...") - defer log.Debug("Builder shutdown complete") // Our filtered chain view could've only been started if // AssumeChannelValid isn't present. @@ -325,6 +326,8 @@ func (b *Builder) Stop() error { close(b.quit) b.wg.Wait() + log.Debug("Builder shutdown complete") + return nil }