Skip to content

Commit dc5ff3d

Browse files
committed
notifications: use human-friendly log format for path canonicalization
1 parent 6cccc30 commit dc5ff3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub(crate) fn filter_file<F: FnMut(&str) -> bool>(
129129

130130
pub(crate) fn canonicalize_path(path: &Path) -> PathBuf {
131131
fs::canonicalize(path).unwrap_or_else(|_| {
132-
warn!(path = %path.display(), "could not canonicalize path");
132+
warn!("could not canonicalize path {}", path.display());
133133
PathBuf::from(path)
134134
})
135135
}

0 commit comments

Comments
 (0)