-
Notifications
You must be signed in to change notification settings - Fork 26
Improve error handling in Pooler and Auth classes #33
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
Comments
@johnmccabe sorry to make some additional changes on you...but I'm planning on making the Pooler and Auth class raise error specific messages when things go wrong instead of just returning |
An example of what that's going to look like will be here: 05e9d5a And then consumers of those classes can use the |
This commit updates the Auth class to properly raise an error when something goes wrong. It also updates the vmpooler command class to handle when those errors get raised.
Sounds good, I'll add handling later this evening. |
@johnmccabe - I'll let you know when the gem is released, probably later today :) |
This commit adds more handling to the vmfloaty command class that deals with exceptions thrown from the Pooler class.
This commit updates the auth token error handling following the updates to vmfloaty made in puppetlabs/vmfloaty#33
The text was updated successfully, but these errors were encountered: