Update cli.py

logging in exception
This commit is contained in:
Hossein Shafagh 2020-10-22 11:57:54 -07:00 committed by GitHub
parent c40ecd12cb
commit 2e7e3a82fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -774,5 +774,7 @@ def deactivate_entrust_certificates():
database.update(cert)
except Exception as e:
current_app.logger.info(log_data)
sentry.captureException()
current_app.logger.exception(e)