Skip to content

Commit

Permalink
chore: update error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Nov 28, 2024
1 parent 0a2eb54 commit 2c7964d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staker/stakerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1566,12 +1566,12 @@ func (app *App) handleStakingCommands() {
if err != nil {
utils.PushOrQuit(
cmd.errChan,
err,
fmt.Errorf("sending tx to babylon failed: %w", err),
app.quit,
)
app.logger.WithFields(logrus.Fields{

Check failure on line 1572 in staker/stakerapp.go

View workflow job for this annotation

GitHub Actions / lint_test / lint

printf: (*github.com/sirupsen/logrus.Entry).Errorf does not support error-wrapping directive %w (govet)

Check failure on line 1572 in staker/stakerapp.go

View workflow job for this annotation

GitHub Actions / lint_test / unit-tests

(*github.com/sirupsen/logrus.Entry).Errorf does not support error-wrapping directive %w
"stakingTxHash": stkTxHash,
}).Debugf("BTC delegation waited for too long to become active, check the status manually")
}).Errorf("BTC delegation transaction failed: %w", err)
return
}

Expand Down

0 comments on commit 2c7964d

Please sign in to comment.