From 6d17c98a010bbc85718d86e517b907cdb2d25a38 Mon Sep 17 00:00:00 2001 From: Mohi <58784914+mrostamii@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:26:21 +0800 Subject: [PATCH] fix: log/service stopped (#1070) * fix: log/service stopped - was in wrong section, any other subcommand have affected * fix: wsl error - added an empty line before the `return nil` statement --- cmd/heimdalld/service/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/heimdalld/service/service.go b/cmd/heimdalld/service/service.go index 3fe70f48d6..e4b4aef44c 100644 --- a/cmd/heimdalld/service/service.go +++ b/cmd/heimdalld/service/service.go @@ -206,8 +206,6 @@ func NewHeimdallService(pCtx context.Context, args []string) { // Note: Handle with #870 panic(err) } - - logger.Info("Heimdall services stopped") } func getNewApp(serverCtx *server.Context) func(logger log.Logger, db dbm.DB, storeTracer io.Writer) abci.Application { @@ -531,6 +529,8 @@ func startInProcess(cmd *cobra.Command, shutdownCtx context.Context, ctx *server return err } + logger.Info("Heimdall services stopped") + return nil }