Skip to content

Commit

Permalink
chore: Add more logs to Coordinator (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley authored Jun 12, 2024
1 parent 0f3b9d2 commit 48ae457
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coordinator/src/synchroniser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,15 @@ impl<'a> Synchroniser<'a> {
)
)]
async fn sync_new_indexer(&self, config: &IndexerConfig) -> anyhow::Result<()> {
tracing::info!("Starting executor");

if let Err(err) = self.executors_handler.start(config).await {
tracing::error!(?err, "Failed to start Executor");
return Ok(());
}

tracing::info!("Starting block stream");

// FIX if this fails, then subsequent control loops will perpetually fail since the
// above will error with ALREADY_EXISTS
if let Err(err) = self.start_new_block_stream(config).await {
Expand Down

0 comments on commit 48ae457

Please sign in to comment.