mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
use original error message
This commit is contained in:
parent
a0201ea83b
commit
33d8746ca3
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue