From f990ef27cf37f7744d338e5e59e63eed52fc65bc Mon Sep 17 00:00:00 2001 From: kevgliss Date: Thu, 26 Oct 2017 15:21:13 -0700 Subject: [PATCH] Adding sentry tracking to issued with certificate deployment. (#978) --- lemur/certificates/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lemur/certificates/models.py b/lemur/certificates/models.py index 41075a62..ee9caadb 100644 --- a/lemur/certificates/models.py +++ b/lemur/certificates/models.py @@ -363,6 +363,7 @@ def update_destinations(target, value, initiator): if target.private_key: destination_plugin.upload(target.name, target.body, target.private_key, target.chain, value.options) except Exception as e: + sentry.captureException() current_app.logger.exception(e) metrics.send('destination_upload_failure', 'counter', 1, metric_tags={'certificate': target.name, 'destination': value.label})