Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Improve error messaging for invalid requests #4704

Merged

Conversation

wanderingbort
Copy link
Contributor

When the server rejects a cleos RPC call as invalid (http 400) we now produce a more friendly error message

relates to #4613

it looks something like this:

$ cleos --url http://localhost:8888 get info
Error 3200002: invalid http request
Error Details:
The server has rejected the request as invalid!
Please verify this url is valid: http://localhost:8888/v1/chain/get_info
If the condition persists, please contact the RPC server administrator for localhost!

When the server rejects a cleos RPC call as invalid (http 400) we now produce a more friendly error message

relates to EOSIO#4613
@heifner heifner merged commit 1c0390b into EOSIO:release/1.1 Jul 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants