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

Handle exceptions raised by __virtual__ #23639

Merged
merged 2 commits into from
May 13, 2015

Conversation

cachedout
Copy link
Contributor

Closes #23452

try:
virtual = mod.__virtual__()
except Exception as exc:
log.error('Exception raised when processing __virtual__ function

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing ' at the end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This is what happens when I have 12 hours of jet lag. :]

rallytime pushed a commit that referenced this pull request May 13, 2015
Handle exceptions raised by __virtual__
@rallytime rallytime merged commit 84e2ef8 into saltstack:2014.7 May 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants