Merge pull request #9704 from filecoin-project/asr/fix-panic-2
fix: cli: correctly return error panic-less-ly
This commit is contained in:
commit
2fabffe481
@ -290,7 +290,7 @@ var actorWithdrawCmd = &cli.Command{
|
||||
// wait for it to get mined into a block
|
||||
wait, err := api.StateWaitMsg(ctx, res, uint64(cctx.Int("confidence")))
|
||||
if err != nil {
|
||||
return xerrors.Errorf("Timeout waiting for withdrawal message %s", wait.Message)
|
||||
return xerrors.Errorf("Timeout waiting for withdrawal message %s", res)
|
||||
}
|
||||
|
||||
if wait.Receipt.ExitCode.IsError() {
|
||||
|
Loading…
Reference in New Issue
Block a user