handled cfssl-key type error

This commit is contained in:
jenkins-x-bot 2020-01-09 15:16:19 +02:00
parent 8e04aa1bd3
commit 8be8c95b17

View File

@ -56,7 +56,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
try:
hex_key = current_app.config.get("CFSSL_KEY")
key = bytes.fromhex(hex_key)
except (ValueError, NameError):
except (ValueError, NameError, TypeError):
# unable to find CFSSL_KEY in config, continue using normal sign method
pass
else: