Log warning instead of error when refreshing batch fails.
This commit is contained in:
parent
e348a2f216
commit
46f8430c32
|
@ -551,7 +551,7 @@ class BatchCrud(BaseCrud):
|
||||||
self.refresh_data(session, batch, progress=progress)
|
self.refresh_data(session, batch, progress=progress)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
session.rollback()
|
session.rollback()
|
||||||
log.exception("refreshing data for batch failed: {0}".format(batch))
|
log.warning("refreshing data for batch failed: {0}".format(batch), exc_info=True)
|
||||||
session.close()
|
session.close()
|
||||||
progress.session.load()
|
progress.session.load()
|
||||||
progress.session['error'] = True
|
progress.session['error'] = True
|
||||||
|
|
Loading…
Reference in a new issue