Skip to content

Commit 34f77df

Browse files
committed
add warning log for first run configuration creation
1 parent aa1c8b3 commit 34f77df

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use clap::Parser;
22
use cli::Command;
33
use server::config::Config;
44
use std::env;
5-
use tracing::{debug, info};
5+
use tracing::{debug, info, warn};
66

77
mod cli;
88
mod dbmgr;
@@ -30,6 +30,7 @@ async fn main() -> Result<(), error::Error> {
3030
debug!("Arguments: {args:?}");
3131

3232
if first_run {
33+
warn!("No configuration found, creating one");
3334
info!("Configuration initialized at {}", config_path.display());
3435
return Ok(());
3536
}

0 commit comments

Comments
 (0)