Update cli.py
logging in exception
This commit is contained in:
parent
c40ecd12cb
commit
2e7e3a82fa
@ -774,5 +774,7 @@ def deactivate_entrust_certificates():
|
|||||||
database.update(cert)
|
database.update(cert)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
current_app.logger.info(log_data)
|
||||||
sentry.captureException()
|
sentry.captureException()
|
||||||
current_app.logger.exception(e)
|
current_app.logger.exception(e)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user