From 0dee053e36cb3c7ad99cb142eb268352fc93f97a Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 12 Nov 2024 11:08:39 +0200 Subject: [PATCH] use default message --- src/profile/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"), }, } }