mirror of
https://github.com/BreizhHardware/ntfy_alerts.git
synced 2026-01-18 16:37:28 +01:00
Update src/main.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user