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..
This commit is contained in:
parent
7e15f75d44
commit
6037519fbe
|
@ -1057,7 +1057,7 @@ class BatchMasterView(MasterView):
|
||||||
self.handler.do_populate(batch, user, progress=progress)
|
self.handler.do_populate(batch, user, progress=progress)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
session.rollback()
|
session.rollback()
|
||||||
log.warning("batch population failed: %s", batch, exc_info=True)
|
log.exception("batch population failed: %s", batch)
|
||||||
session.close()
|
session.close()
|
||||||
if progress:
|
if progress:
|
||||||
progress.session.load()
|
progress.session.load()
|
||||||
|
|
Loading…
Reference in a new issue