From 2c7964d955288efcb9e2a3606fa8dbb39fe5a21b Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Thu, 28 Nov 2024 09:31:18 -0300 Subject: [PATCH] chore: update error msg --- staker/stakerapp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staker/stakerapp.go b/staker/stakerapp.go index bc3bc9c..06a9421 100644 --- a/staker/stakerapp.go +++ b/staker/stakerapp.go @@ -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{ "stakingTxHash": stkTxHash, - }).Debugf("BTC delegation waited for too long to become active, check the status manually") + }).Errorf("BTC delegation transaction failed: %w", err) return }