reformat execption

This commit is contained in:
Rebecca Law
2017-03-17 16:57:00 +00:00
parent d831447329
commit 8225a57d50

View File

@@ -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