Skip to content
Commit 22214daf authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

ipaclient: Fix OTP error reporting

When deploying an IPA client with ipaclient, if an error occured while
getting an OTP, no error message is logged, as the task that logs the
error is not excuted due to the previous taks failure.

By adding a 'rescue' section to the code block and moving the error
reporting to this new section, we ensure that the proper error messages
will be reported.
parent 48c0fd0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment