Skip to content

Commit

Permalink
fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-rosianu committed Jun 24, 2020
1 parent ef6848d commit 93221d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/node/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ func startNode(ctx *cli.Context, log logger.Logger, version string) error {
case <-sigs:
log.Info("terminating at user's signal...")
case sig = <-chanStopNodeProcess:
log.Info("terminating at internal stop signal", "reason", sig.Reason)
log.Info("terminating at internal stop signal", "reason", sig.Reason, "description", sig.Description)
}

chanCloseComponents := make(chan struct{})
Expand All @@ -1348,6 +1348,8 @@ func startNode(ctx *cli.Context, log logger.Logger, version string) error {
log.Warn("force closing the node", "error", "closeAllComponents did not finished on time")
}

log.Debug("closing node")

return nil
}

Expand Down

0 comments on commit 93221d9

Please sign in to comment.