Skip to content

Commit

Permalink
Return correct initializer error (#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexfusion authored Mar 4, 2023
1 parent 98ebdaf commit b6345b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vms/rpcchainvm/runtime/subprocess/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func Bootstrap(

if intitializer.err != nil {
stopper.Stop(ctx)
return nil, nil, fmt.Errorf("%w: %v", runtime.ErrHandshakeFailed, err)
return nil, nil, fmt.Errorf("%w: %v", runtime.ErrHandshakeFailed, intitializer.err)
}

log.Info("plugin handshake succeeded",
Expand Down

0 comments on commit b6345b4

Please sign in to comment.