Skip to content

Commit

Permalink
check error returned from NewNode (cosmos#11624)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb authored and JimLarson committed Jul 7, 2022
1 parent cd6e8bd commit 63ddc9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ func startInProcess(ctx *Context, clientCtx client.Context, appCreator types.App
node.DefaultMetricsProvider(cfg.Instrumentation),
ctx.Logger,
)

if err != nil {
return err
}
if err := tmNode.Start(); err != nil {
return err
}
Expand Down

0 comments on commit 63ddc9b

Please sign in to comment.