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 18, 2020
1 parent 79c31f2 commit 3f15882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ 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 3f15882

Please sign in to comment.