Reduce log severity of entry stream errors

This commit is contained in:
Michael Vines 2019-02-16 19:09:31 -08:00
parent f71cd2c6f3
commit 58f4709362
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 2 additions and 2 deletions

View File

@ -76,14 +76,14 @@ impl EntryStreamStage {
entry_stream entry_stream
.emit_block_event(block_slot, &leader_id, block_tick_height, block_id) .emit_block_event(block_slot, &leader_id, block_tick_height, block_id)
.unwrap_or_else(|e| { .unwrap_or_else(|e| {
error!("Entry Stream error: {:?}, {:?}", e, entry_stream.output); debug!("Entry Stream error: {:?}, {:?}", e, entry_stream.output);
}); });
entry_stream.queued_block = None; entry_stream.queued_block = None;
} }
entry_stream entry_stream
.emit_entry_event(slot, &leader_id, &entry) .emit_entry_event(slot, &leader_id, &entry)
.unwrap_or_else(|e| { .unwrap_or_else(|e| {
error!("Entry Stream error: {:?}, {:?}", e, entry_stream.output); debug!("Entry Stream error: {:?}, {:?}", e, entry_stream.output);
}); });
if 0 == leader_scheduler.num_ticks_left_in_slot(entry.tick_height) { if 0 == leader_scheduler.num_ticks_left_in_slot(entry.tick_height) {
entry_stream.queued_block = Some(EntryStreamBlock { entry_stream.queued_block = Some(EntryStreamBlock {