From 86f5fb7375e5662d0ae8494a108f0ed3d1d84d47 Mon Sep 17 00:00:00 2001 From: Ji Hwan Date: Mon, 7 Oct 2024 21:21:28 +0900 Subject: [PATCH] chore: more descriptive error message Signed-off-by: Ji Hwan --- cmd/monitor/monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/monitor/monitor.go b/cmd/monitor/monitor.go index e38905bd..09851ee4 100644 --- a/cmd/monitor/monitor.go +++ b/cmd/monitor/monitor.go @@ -167,7 +167,7 @@ func monitor(ctx context.Context) error { for { err = fetchCurrentBlockData(ctx, ec, ms, isUiRendered) if err != nil { - log.Error().Msg(fmt.Sprintf("Error: %v", err)) + log.Error().Msg(fmt.Sprintf("Error: unable to fetch current block data: %v", err)) // Send the error to the errChan channel to return. errChan <- err return