use default message

This commit is contained in:
yggverse 2024-11-12 11:08:39 +02:00
parent 47b2be986b
commit 0dee053e36

View File

@ -12,7 +12,7 @@ impl Database {
Self { Self {
connection: match Connection::open(path) { connection: match Connection::open(path) {
Ok(connection) => Rc::new(RwLock::new(connection)), Ok(connection) => Rc::new(RwLock::new(connection)),
Err(e) => panic!("Failed to connect profile database: {e}"), Err(reason) => panic!("{reason}"),
}, },
} }
} }