Skip to content

Commit

Permalink
fix(temp_dir): improve error message for temp dir cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: coldWater <[email protected]>
  • Loading branch information
forsaken628 committed Dec 19, 2024
1 parent e131edf commit bdb2448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/storages/common/cache/src/temp_dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl TempDirManager {
if let Err(e) = remove_dir_all(&path) {
if !matches!(e.kind(), ErrorKind::NotFound) {
return Err(ErrorCode::StorageUnavailable(format!(
"can't clean temp dir: {e}",
"can't clean temp dir {path:?}: {e}",
)));
}
}
Expand Down

0 comments on commit bdb2448

Please sign in to comment.