Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gshep committed Aug 13, 2024
1 parent 8da62b5 commit e964a51
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions relayer/src/ethereum_checkpoints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,15 @@ pub async fn relay(args: RelayCheckpointsArgs) {
}
}
Ok(Err(sync_update::Error::ReplayBackRequired { .. })) => {
log::info!("Replay back within the main loop. Exiting");
log::error!("Replay back within the main loop. Exiting");
return;
}
Ok(Err(e)) => log::info!("The program failed with: {e:?}. Skipping"),
Ok(Err(e)) => {
log::info!("The program failed with: {e:?}. Skipping");
if let sync_update::Error::NotActual = e {
slot_last = slot;
}
}
Err(e) => {
log::error!("{e:?}");
return;
Expand Down

0 comments on commit e964a51

Please sign in to comment.