Replies: 1 comment 3 replies
-
I believe this is answered in this comment. #997 (comment) Let me know if that helps. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Error handling has changed in 3.0.x and the response is no longer part of the error.
So how are we supposed to print the response from the server in case of an error?
We've been using the following code in the error branch:
Link to full code: https://github.com/orhun/rustypaste-cli/blob/master/src/upload.rs#L205-L209
Beta Was this translation helpful? Give feedback.
All reactions