tracing message groom
This commit is contained in:
parent
6a7895124c
commit
e853f83d80
1 changed files with 1 additions and 0 deletions
|
|
@ -314,6 +314,7 @@ async fn get_db_pool() -> SqlitePool {
|
||||||
std::env::var("DATABASE_FILE").unwrap_or_else(|_| {
|
std::env::var("DATABASE_FILE").unwrap_or_else(|_| {
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
{
|
{
|
||||||
|
tracing::info!("connecting to default db file");
|
||||||
"blogdor.db".to_string()
|
"blogdor.db".to_string()
|
||||||
}
|
}
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue