From 6037519fbe307a26eeb6e0bbfdbaab4bc85625b1 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 11 Mar 2022 12:37:43 -0600 Subject: [PATCH] Log error instead of warning, when batch population fails user experience does not change but should help the admin to track down the problem quicker.. --- tailbone/views/batch/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/batch/core.py b/tailbone/views/batch/core.py index b4911cbc..ae96419c 100644 --- a/tailbone/views/batch/core.py +++ b/tailbone/views/batch/core.py @@ -1057,7 +1057,7 @@ class BatchMasterView(MasterView): self.handler.do_populate(batch, user, progress=progress) except Exception as error: session.rollback() - log.warning("batch population failed: %s", batch, exc_info=True) + log.exception("batch population failed: %s", batch) session.close() if progress: progress.session.load()