diff --git a/src/main.rs b/src/main.rs index e1cbfef..d1c137c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -103,6 +103,7 @@ async fn main() -> anyhow::Result<()> { tracing::info!("engine-update running db update"); if let Err(err) = cloned_engine.run_update().await { tracing::info!("engine-update running db update. ERROR: {err}"); + cloned_token.cancel(); return; } tracing::info!("engine-update running db update. DONE");