Skip to content

Commit

Permalink
fix(error message): Add full_path to deleting fail error msg (imsnif#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
u5surf committed Jun 19, 2020
1 parent 79c31f2 commit aa62bba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ where
let _ = self.event_sender.try_send(Event::FileDeleted);
}
Err(msg) => {
self.ui_mode = UiMode::ErrorMessage(format!("{}", msg));
self.ui_mode =
UiMode::ErrorMessage(format!("{} deleting {:?}", msg, full_path));
self.render();
}
};
Expand Down

0 comments on commit aa62bba

Please sign in to comment.