no bare except
This commit is contained in:
parent
c78077d8d6
commit
2f51fea743
|
@ -249,7 +249,7 @@ def create(**kwargs):
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
cert_body, private_key, cert_chain, external_id, csr = mint(**kwargs)
|
cert_body, private_key, cert_chain, external_id, csr = mint(**kwargs)
|
||||||
except:
|
except Exception:
|
||||||
current_app.logger.error("Exception minting certificate", exc_info=True)
|
current_app.logger.error("Exception minting certificate", exc_info=True)
|
||||||
sentry.captureException()
|
sentry.captureException()
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in New Issue