Skip images with memory errors on the backfill.

This commit is contained in:
Jake Moshenko 2014-10-07 13:13:03 -04:00
parent 55460cdcba
commit 1850a187d5

View file

@ -64,6 +64,8 @@ def backfill_sizes_from_data():
except model.InvalidImageException:
logger.warning('Storage with uuid no longer exists: %s', uuid)
except MemoryError:
logger.warning('MemoryError on %s', uuid)
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)