explain details on profile init error

This commit is contained in:
yggverse 2024-09-21 14:47:16 +03:00
parent aba822051b
commit b84be75016

View File

@ -15,8 +15,8 @@ fn main() -> glib::ExitCode {
config.push(APP_ID);
if fs::create_dir_all(config).is_err() {
panic!("Failed to create profile directory")
if let Err(explain) = fs::create_dir_all(config) {
panic!("Failed to create profile directory: {explain}")
}
// Init app