Skip to content

Commit

Permalink
Add few more meaningfull logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Apr 11, 2024
1 parent ccd87ae commit fe3a5f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,13 @@ async fn run<RUNTIME: process::Runtime + Clone + Unpin + 'static>(
}
.context("Activity loop error")?;

log::info!("Finished waiting");
log::info!("Finished waiting for activity loop.");
send_state(
&ctx,
ActivityState::from(StatePair(State::Terminated, None)),
)
.await?;

log::info!("Activity state set to terminated.");
Ok(())
}

0 comments on commit fe3a5f8

Please sign in to comment.