Log warning instead of error when refreshing batch fails.

This commit is contained in:
Lance Edgar 2015-07-29 12:27:28 -05:00
parent e348a2f216
commit 46f8430c32

View file

@ -551,7 +551,7 @@ class BatchCrud(BaseCrud):
self.refresh_data(session, batch, progress=progress)
except Exception as error:
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()
progress.session.load()
progress.session['error'] = True