Skip images with memory errors on the backfill.
This commit is contained in:
parent
55460cdcba
commit
1850a187d5
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue