Skip to content

Commit

Permalink
Fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Jan 3, 2024
1 parent b7809d9 commit c2ec00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkcs11/src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl<T> From<apis::Error<T>> for ApiError {
apis::Error::ResponseError(resp) => ApiError::ResponseError(ResponseContent {
status: resp.status,
content: String::from_utf8(resp.content).unwrap_or_else(|e| {
format!(
error!(
"Unable to parse response content into string: {:?}",
e.as_bytes()
);
Expand Down

0 comments on commit c2ec00b

Please sign in to comment.