Update src/main.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Félix MARQUET
2025-07-04 16:03:02 +02:00
committed by GitHub
parent e0d8b4636e
commit d6712b738b

View File

@@ -56,7 +56,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
env_config.timeout as i64,
now
],
).ok();
).map_err(|e| error!("Failed to update app settings in the database: {}", e)).ok();
info!("Configuration updated from environment variables");
}