Merge pull request #1668 from filecoin-project/feat/actor-create-exit

dont override exit codes for actor creation failure
This commit is contained in:
Aayush Rajasekaran 2020-05-04 19:41:38 -04:00 committed by GitHub
commit 299a017ef5

View File

@ -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 {