Include the affected slot in blocktree error metrics (#6734)

This commit is contained in:
Michael Vines 2019-11-05 13:25:21 -07:00 committed by GitHub
parent c312d4fba0
commit 85c9a231c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -742,8 +742,8 @@ impl Blocktree {
(
"error",
format!(
"Received index {} >= slot.last_index {}",
shred_index, last_index
"Slot {}: received index {} >= slot.last_index {}",
slot, shred_index, last_index
),
String
)
@ -758,8 +758,8 @@ impl Blocktree {
(
"error",
format!(
"Received shred_index {} < slot.received {}",
shred_index, slot_meta.received
"Slot {}: received shred_index {} < slot.received {}",
slot, shred_index, slot_meta.received
),
String
)