feat: dont spam on err

This commit is contained in:
2025-05-26 13:14:01 +02:00
parent 6b4c839596
commit 7018dc6dfa
2 changed files with 91 additions and 36 deletions

View File

@@ -133,6 +133,8 @@ where
tracing::debug!("running job");
if let Err(e) = drifter.execute(child_token).await {
tracing::error!("drift job failed with error: {}", e);
let elapsed = start.elapsed();
wait = interval.saturating_sub(elapsed);
continue
}