Skip to content

Commit 617b84c

Browse files
committed
chore: proper api error to response error conversion
1 parent 046122a commit 617b84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/client/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub enum ResponseError {
113113

114114
impl From<APIError> for ResponseError {
115115
fn from(e: APIError) -> Self {
116-
ResponseError::ApiError(e.to_string())
116+
ResponseError::ApiError(e.error)
117117
}
118118
}
119119

0 commit comments

Comments
 (0)