Merge pull request #1668 from filecoin-project/feat/actor-create-exit
dont override exit codes for actor creation failure
This commit is contained in:
commit
299a017ef5
@ -200,7 +200,7 @@ func (vm *VM) send(ctx context.Context, msg *types.Message, parent *Runtime,
|
||||
if xerrors.Is(err, init_.ErrAddressNotFound) {
|
||||
a, err := TryCreateAccountActor(rt, msg.To)
|
||||
if err != nil {
|
||||
return nil, aerrors.Absorb(err, 1, "could not create account"), rt
|
||||
return nil, aerrors.Wrapf(err, "could not create account"), rt
|
||||
}
|
||||
toActor = a
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user