From bdb2448b696c631bab445927e719b58ed55fea4c Mon Sep 17 00:00:00 2001 From: coldWater Date: Thu, 19 Dec 2024 12:06:12 +0800 Subject: [PATCH] fix(temp_dir): improve error message for temp dir cleanup Signed-off-by: coldWater --- src/query/storages/common/cache/src/temp_dir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/storages/common/cache/src/temp_dir.rs b/src/query/storages/common/cache/src/temp_dir.rs index 54f0465e0c94..7b47672fda17 100644 --- a/src/query/storages/common/cache/src/temp_dir.rs +++ b/src/query/storages/common/cache/src/temp_dir.rs @@ -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}", ))); } }