Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: whitelist restriction error message with ip address #67

Open
abgit opened this issue Jul 5, 2017 · 0 comments
Open

Comments

@abgit
Copy link

abgit commented Jul 5, 2017

When whitelist is applied could be useful if we get a more details about the ip that do not match whitelist.

Currently, when a call is not in whitelist we get this error message:

blocktrail/blocktrail-sdk/src/Connection/RestClient.php:344 Blocktrail\SDK\Connection\RestClient::responseHandler
A Server Error has occurred! Server Response: {"code":0,"msg":"Unable to co-sign transction due to IP whitelist restrictions"} 

Would be even better if api included in message IP address that trigger the error, eg:

A Server Error has occurred! Server Response: {"code":0,"msg":"Unable to co-sign transaction due to IP whitelist restrictions ( 1.2.3.4 )"} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant