From 8225a57d508443fa2f0d50810149340fa72da888 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Fri, 17 Mar 2017 16:57:00 +0000 Subject: [PATCH] reformat execption --- app/celery/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/celery/tasks.py b/app/celery/tasks.py index 0abda053a..c4ea9731f 100644 --- a/app/celery/tasks.py +++ b/app/celery/tasks.py @@ -283,7 +283,7 @@ def build_dvla_file(self, job_id): current_app.logger.info("All notifications for job {} are not persisted".format(job_id)) self.retry(queue="retry", exc="All notifications for job {} are not persisted".format(job_id)) except Exception as e: - current_app.logger.exception("build_dvla_file threw exception: {}", e) + current_app.logger.exception("build_dvla_file threw exception") raise e