Skip to content

Commit

Permalink
check error returned from NewNode (#11624)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb authored Apr 13, 2022
1 parent c2fd51b commit 5ad3a36
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 5ad3a36

Please sign in to comment.