check error returned from NewNode (#11624)
This commit is contained in:
parent
c2fd51b4c5
commit
5ad3a36a28
|
@ -279,7 +279,9 @@ func startInProcess(ctx *Context, clientCtx client.Context, appCreator types.App
|
||||||
node.DefaultMetricsProvider(cfg.Instrumentation),
|
node.DefaultMetricsProvider(cfg.Instrumentation),
|
||||||
ctx.Logger,
|
ctx.Logger,
|
||||||
)
|
)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
if err := tmNode.Start(); err != nil {
|
if err := tmNode.Start(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue