Skip to content

Commit

Permalink
add context on node onchain error log
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-shim committed Apr 22, 2024
1 parent b352066 commit 91faeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/eth/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func (t *Transactor) GetOperatorStakes(ctx context.Context, operator core.Operat
Context: ctx,
}, t.Bindings.RegCoordinatorAddr, operator, blockNumber)
if err != nil {
t.Logger.Error("Failed to fetch operator state", "err", err)
t.Logger.Error("Failed to fetch operator state", "err", err, "blockNumber", blockNumber, "operatorID", operator.Hex())
return nil, nil, err
}

Expand Down

0 comments on commit 91faeb6

Please sign in to comment.