diff --git a/server/bleep/src/db.rs b/server/bleep/src/db.rs index e7efacccc6..460685cb22 100644 --- a/server/bleep/src/db.rs +++ b/server/bleep/src/db.rs @@ -2,7 +2,7 @@ use std::{path::Path, sync::Arc}; use anyhow::{Context, Result}; use sqlx::SqlitePool; -use tracing::{debug, warn}; +use tracing::{debug, error}; use crate::Configuration; @@ -22,7 +22,7 @@ pub async fn initialize(config: &Configuration) -> Result { Ok(pool) } Err(e) => { - warn!(?e, "error while migrating, recreating database..."); + error!(?e, "error while migrating, recreating database..."); reset(&data_dir)?; debug!("reset complete");