Skip to content

Commit

Permalink
updated error get valset event logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamle2 committed Apr 29, 2023
1 parent 54563a6 commit 6d58c64
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions orchestrator/relayer/src/find_latest_valset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ pub async fn find_latest_valset(
.await
{
Ok(events) => events,
Err(_) => {
Err(err) => {
warn!(
"Failed to get events for block range {} - {}, repeating...",
end_search, current_block
"Failed to get events with err: {}, for block range {} - {}, repeating...",
err.to_string(),
end_search,
current_block
);
continue;
}
Expand Down

0 comments on commit 6d58c64

Please sign in to comment.