Skip to content

Commit

Permalink
chore: more descriptive error message
Browse files Browse the repository at this point in the history
Signed-off-by: Ji Hwan <[email protected]>
  • Loading branch information
jhkimqd committed Oct 7, 2024
1 parent 8107d27 commit 86f5fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86f5fb7

Please sign in to comment.