Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
caibirdme committed Oct 23, 2024
1 parent 6b4ae5a commit ba7daed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/storage/ck/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ pub(crate) async fn send_query(
error!("fail to read ck response: {}", e);
e
})?;
let resp: RecordWarpper = serde_json::from_str(&res).map_err(|e| {
let resp: RecordWarpper = serde_json::from_str(&res).inspect_err(|_| {
error!("fail to parse ck response: {}", res);
e
})?;
Ok(resp.data)
}
Expand Down

0 comments on commit ba7daed

Please sign in to comment.