Browse Source

use original error message

master
yggverse 4 weeks ago
parent
commit
33d8746ca3
  1. 4
      src/profile.rs

4
src/profile.rs

@ -34,8 +34,8 @@ impl Profile {
env!("CARGO_PKG_VERSION_MINOR") env!("CARGO_PKG_VERSION_MINOR")
)); // @TODO remove after auto-migrate feature implementation )); // @TODO remove after auto-migrate feature implementation
if let Err(e) = create_dir_all(&config_path) { if let Err(reason) = create_dir_all(&config_path) {
panic!("Failed to create profile directory: {e}") panic!("{reason}")
} }
// Init database path // Init database path

Loading…
Cancel
Save