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

Capturing Error Responses #14

Closed
johnnyxh opened this issue Dec 1, 2017 · 1 comment
Closed

Capturing Error Responses #14

johnnyxh opened this issue Dec 1, 2017 · 1 comment
Labels

Comments

@johnnyxh
Copy link

johnnyxh commented Dec 1, 2017

Is there any reason why you are capturing the error response and sending back an error from SimpleHttp? This has been causing some issues in certain programs that are expecting a specific error to come back from a service. Would it be possible to make this a toggleable configuration?

@genotrance
Copy link
Owner

genotrance commented Dec 12, 2017

Can you please provide an example of what you're saying here? I'm not sure what you mean. Px just forwards any errors that the remote site sends over if it is an error condition.

Running Px with debug logging enabled might be helpful as well if it is a specific error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants