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

Savon.raise_errors .. why global ? #270

Closed
Fivell opened this issue Feb 18, 2012 · 3 comments
Closed

Savon.raise_errors .. why global ? #270

Fivell opened this issue Feb 18, 2012 · 3 comments
Milestone

Comments

@Fivell
Copy link

Fivell commented Feb 18, 2012

Hello! I have next question.
If I have 2 different soap clinets based on savon, which was developed for different projects. One of them uses Savon.raise_errors == true , another uses false. Both of them process errors from soap server and use them in different logic.
I'm just looked at manual and there is note about Savon.raise_errors is global configuration . So it is not possible to set this confuguration per client. I'm right? So how can I use both of clients in one project with different raise_errors configuration ?

@cryo28
Copy link

cryo28 commented Apr 9, 2012

+1

@rubiii
Copy link
Contributor

rubiii commented Jun 6, 2012

fixed with v0.9.10 (ed0260f). here's an example:

client = Savon.client("http://example.com")
client.config.raise_errors = true

@rubiii rubiii closed this as completed Jun 6, 2012
@Fivell
Copy link
Author

Fivell commented Jun 6, 2012

thanks!

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

No branches or pull requests

3 participants