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

Catch MinionError in file.source_list #38847

Merged
merged 2 commits into from Jan 24, 2017

Conversation

terminalmage
Copy link
Contributor

Resolves #38825.

except MinionError as exc:
# Error downloading file. Log the caught exception and
# continue on to the next source.
log.warning(exc.strerror)
Copy link
Contributor

Choose a reason for hiding this comment

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

log.exception(exc) instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, I made the change.

@cachedout cachedout merged commit 405d86a into saltstack:2016.3 Jan 24, 2017
@terminalmage terminalmage deleted the issue38825 branch April 25, 2017 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants