Skip to content

Commit 8688ed3

Browse files
committed
nit to retain the same error format
1 parent 3d7314e commit 8688ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reconciler/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func (r *Reconciler) CompareBalance(
282282
// Head block should be set before we CompareBalance
283283
head, err := r.helper.CurrentBlock(ctx, dbTx)
284284
if err != nil {
285-
return zeroString, "", 0, errors.Wrap(ErrGetCurrentBlockFailed, err.Error())
285+
return zeroString, "", 0, errors.Wrapf(ErrGetCurrentBlockFailed, "%v", err)
286286
}
287287

288288
// Check if live block is < head (or wait)

0 commit comments

Comments
 (0)