From 7712d972706ee87ea6f1c95ddc42db0503c70b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 20 Jan 2020 16:18:02 +0100 Subject: [PATCH] mpool stat: Don't exit on StateGetActor error --- cli/mpool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/mpool.go b/cli/mpool.go index 2517e7df6..76c081840 100644 --- a/cli/mpool.go +++ b/cli/mpool.go @@ -124,7 +124,8 @@ var mpoolStat = &cli.Command{ for a, bkt := range buckets { act, err := api.StateGetActor(ctx, a, ts) if err != nil { - return err + fmt.Printf("%s, err: %s\n", a, err) + continue } cur := act.Nonce