From 2325579394f197c623a4bfd17ec3ecf908305c66 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Fri, 13 Oct 2023 16:18:42 +0300 Subject: [PATCH] apply suggestions Co-authored-by: Hlib Kanunnikov --- blob/service.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blob/service.go b/blob/service.go index 135cc59918..ffcc8afa0a 100644 --- a/blob/service.go +++ b/blob/service.go @@ -250,8 +250,7 @@ func (s *Service) getByCommitment( err = ErrBlobNotFound if len(rawShares) > 0 { - reportErr := fmt.Errorf("THIS IS A BUG: INCOMPLETE BLOB DETECTED at: %d height", height) - err = errors.Join(err, reportErr) + err = fmt.Errorf("incomplete blob detected at %d: %w", height, err) log.Error(err) } return nil, nil, err