Skip to content

Commit

Permalink
fix: log/service stopped (#1070)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mrostamii authored Oct 26, 2023
1 parent f90892b commit 0e70ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/heimdalld/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -531,6 +529,8 @@ func startInProcess(cmd *cobra.Command, shutdownCtx context.Context, ctx *server
return err
}

logger.Info("Heimdall services stopped")

return nil
}

Expand Down

0 comments on commit 0e70ceb

Please sign in to comment.