-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ModuleHelperException module utils - improved exception initialization #4755
ModuleHelperException module utils - improved exception initialization #4755
Conversation
Co-authored-by: Felix Fontein <felix@fontein.de>
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #4785 🤖 @patchback |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #4786 🤖 @patchback |
#4755) (#4785) * ModuleHelperException module utils - improved exception initialization * added changelog fragment * Update plugins/module_utils/mh/exceptions.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit b87edda) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
#4755) (#4786) * ModuleHelperException module utils - improved exception initialization * added changelog fragment * Update plugins/module_utils/mh/exceptions.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit b87edda) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
SUMMARY
Simplified the code for
ModuleHelperException
, and fixed missing use ofto_native()
.ISSUE TYPE
COMPONENT NAME
plugins/module_utils/mh/exceptions.py