mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
Add slot to proposal error logs (#12071)
* Add slot to proposal error logs * remove one field
This commit is contained in:
parent
25d06d41be
commit
4ca3c5b058
@ -132,7 +132,7 @@ func (v *validator) ProposeBlock(ctx context.Context, slot primitives.Slot, pubK
|
|||||||
}
|
}
|
||||||
blkResp, err := v.validatorClient.ProposeBeaconBlock(ctx, proposal)
|
blkResp, err := v.validatorClient.ProposeBeaconBlock(ctx, proposal)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Error("Failed to propose block")
|
log.WithField("blockSlot", slot).WithError(err).Error("Failed to propose block")
|
||||||
if v.emitAccountMetrics {
|
if v.emitAccountMetrics {
|
||||||
ValidatorProposeFailVec.WithLabelValues(fmtKey).Inc()
|
ValidatorProposeFailVec.WithLabelValues(fmtKey).Inc()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user