Skip to content

Commit 981a7bf

Browse files
authored
chore: Always print detailed error from opendal (#17681)
Signed-off-by: Xuanwo <[email protected]>
1 parent e929ea2 commit 981a7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/exception/src/exception_into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ impl From<opendal::Error> for ErrorCode {
188188
opendal::ErrorKind::PermissionDenied => {
189189
ErrorCode::StoragePermissionDenied(error.to_string())
190190
}
191-
_ => ErrorCode::StorageOther(error.to_string()),
191+
_ => ErrorCode::StorageOther(format!("{error:?}")),
192192
}
193193
}
194194
}

0 commit comments

Comments
 (0)