Skip to content

Commit

Permalink
chore: improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5459 committed Oct 17, 2023
1 parent ef3a810 commit 14488df
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ pub fn do_transfer_inner(
let dest_is_dir = dest.is_dir();
if src_is_dir != dest_is_dir {
return Err(anyhow!(
"dest entry type is different with src, is_dir={}",
"dest({}) entry type is different with src({}), is_dir={}",
dest.display(),
src.display(),
src_is_dir
));
}
Expand Down

0 comments on commit 14488df

Please sign in to comment.