Issue #9360 has been updated by R.I. Pienaar.

Status changed from Requires CLA to be signed to Accepted


----------------------------------------
Feature #9360: Don't exit on exception in MCollective::RPC.rpcclient()
https://projects.puppetlabs.com/issues/9360

Author: Ken Simon
Status: Accepted
Priority: Normal
Assignee: 
Category: SimpleRPC
Target version: 1.3.x
Keywords: 
Branch: 
Affected mCollective version: 


Using mcollective as a library in a web app, I'd prefer that any Exceptions 
that happen in rpcclient() get raised normally instead of swallowed and 
exit()'ed.

I've created a fork on github that patches the rpcclient() function to accept 
an :exit_on_failure option.  It's true by default, to preserve previous 
behavior.  I've tested it and it appears to work well.  If you'd like, you can 
merge it 
(https://github.com/ninkendo/marionette-collective/commit/de3d0d55ecf36de80a266ffcd9a3e82e883d41da)
 or similar functionality can be written.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to