Fixes #9049 - Log exceptions when triggering a Puppet run
If an exception occurs during triggering a Puppet run from the UI, user will be notified of the error in a flash message. If the exception occurs when running the action non-interactively (e.g. from a DynFlow task), the exception will get swallowed. This patch makes sure the exception message is at least logged to allow later inspection.
The patch is necessary to proceed with debugging of a Staypuft issue:
Fixes #9049 - Log exceptions when triggering a Puppet run
If an exception occurs during triggering a Puppet run from the UI,
user will be notified of the error in a flash message. If the
exception occurs when running the action non-interactively (e.g. from
a DynFlow task), the exception will get swallowed. This patch makes
sure the exception message is at least logged to allow later
inspection.
The patch is necessary to proceed with debugging of a Staypuft issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1183802
(cherry picked from commit 86adb030eafdc37658b02d6dad5b1ff6e94d4bcf)