From 3c82ee49c0e7b0336c6dc505631ae8dd10d99cdf Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Thu, 10 Feb 2022 12:45:57 +0100 Subject: [PATCH] Allow lotus-miner info to complete without admin permission --- cmd/lotus-miner/info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-miner/info.go b/cmd/lotus-miner/info.go index 1133908ca..46070ca96 100644 --- a/cmd/lotus-miner/info.go +++ b/cmd/lotus-miner/info.go @@ -126,7 +126,7 @@ func infoCmdAct(cctx *cli.Context) error { alerts, err := minerApi.LogAlerts(ctx) if err != nil { - return xerrors.Errorf("getting alerts: %w", err) + fmt.Printf("ERROR: getting alerts: %s\n", err) } activeAlerts := make([]alerting.Alert, 0)