URL:
https://github.com/freeipa/freeipa/pull/996
Author: frasertweedale
Title: #996: ipa-pki-retrieve-key: ensure we do not crash
Action: opened
PR body:
"""
If ipa-pki-retrieve-key fails for some reason (which may be a
"legitimate" reason, e.g. the server it is attempting to contact
being offline), the program terminates with an uncaught exception,
resulting in crash report.
Catch all exceptions; if an exception gets raised, report the
traceback and exit with nonzero status.
Fixes:
https://pagure.io/freeipa/issue/7115
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/996/head:pr996
git checkout pr996