Yet another logging fix
All checks were successful
Run Tests on Code / run-tests (push) Successful in 11s

This commit is contained in:
Neshura 2024-05-06 22:57:05 +02:00
parent 966dd8f359
commit 85f8b97607
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -124,7 +124,7 @@ async fn idle(start: &DateTime<Utc>, config: &Config) {
sleep_duration = Duration::seconds(60);
}
let info_msg = format!("Idling for {} seconds", sleep_duration.to_string());
let info_msg = format!("Idling for {} seconds", sleep_duration.num_seconds());
info!(info_msg);
if let Some(status_url) = config.status_post_url.clone() {