no bare except

This commit is contained in:
Curtis Castrapel 2018-07-20 10:53:47 -07:00
parent c78077d8d6
commit 2f51fea743
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ def create(**kwargs):
"""
try:
cert_body, private_key, cert_chain, external_id, csr = mint(**kwargs)
except:
except Exception:
current_app.logger.error("Exception minting certificate", exc_info=True)
sentry.captureException()
raise