Skip to content

Commit

Permalink
Merge pull request #1083 from getlipa/fix/pocket-client-error-messages
Browse files Browse the repository at this point in the history
Fix Pocket client error messages
  • Loading branch information
danielgranhao authored May 21, 2024
2 parents 3d568f3 + 67b4d08 commit 7a8b98c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pocketclient/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl PocketClient {
raw_response.status() == StatusCode::CREATED,
runtime_error(
PocketClientErrorCode::UnexpectedResponse,
"Got unexpected response to Pocket challenge request: Pocket API returned status"
"Got unexpected response to Pocket challenge request"
)
);

Expand Down Expand Up @@ -256,7 +256,7 @@ impl PocketClient {
raw_response.status() == StatusCode::CREATED,
runtime_error(
PocketClientErrorCode::UnexpectedResponse,
"Got unexpected response to Pocket order creation request: Pocket API returned status {}"
"Got unexpected response to Pocket order creation request"
)
);

Expand Down

0 comments on commit 7a8b98c

Please sign in to comment.