From 33d8746ca3558fa836c75375a24a7c5ae12a7e8c Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 8 Nov 2024 08:47:52 +0200 Subject: [PATCH] use original error message --- src/profile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profile.rs b/src/profile.rs index 4ce8524e..342a0484 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -34,8 +34,8 @@ impl Profile { env!("CARGO_PKG_VERSION_MINOR") )); // @TODO remove after auto-migrate feature implementation - if let Err(e) = create_dir_all(&config_path) { - panic!("Failed to create profile directory: {e}") + if let Err(reason) = create_dir_all(&config_path) { + panic!("{reason}") } // Init database path