diff --git a/src/profile/database.rs b/src/profile/database.rs index c4ad7822..9f4cbddc 100644 --- a/src/profile/database.rs +++ b/src/profile/database.rs @@ -12,7 +12,7 @@ impl Database { Self { connection: match Connection::open(path) { Ok(connection) => Rc::new(RwLock::new(connection)), - Err(e) => panic!("Failed to connect profile database: {e}"), + Err(reason) => panic!("{reason}"), }, } }