Process certificate component errors in a more tidy fashion

This commit is contained in:
Ruben van Staveren 2020-04-06 12:31:42 +02:00
parent 53d97c30c2
commit fc3e220d61
No known key found for this signature in database
GPG Key ID: 63424959ACCADD9C

View File

@ -426,4 +426,8 @@ def main():
if __name__ == "__main__":
exit(main())
try:
exit(main())
except CertificateComponentException as certcomponent_error:
logging.error(certcomponent_error)
exit(1)