Skip to content

Commit 0b45a42

Browse files
committed
notifications: use human-friendly log format for temp file deletions
1 parent 8824978 commit 0b45a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dist/temp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl Drop for File {
6565
match fs::remove_file(&self.path) {
6666
Ok(()) => debug!(path = %self.path.display(), "deleted temp file"),
6767
Err(e) => {
68-
warn!(path = %self.path.display(), error = %e, "could not delete temp file")
68+
warn!("could not delete temp file {} ({e})", self.path.display())
6969
}
7070
}
7171
}

0 commit comments

Comments
 (0)