diff --git a/common/lib/xmodule/xmodule/contentstore/content.py b/common/lib/xmodule/xmodule/contentstore/content.py index d11c271ccc..6dcf70fbe1 100644 --- a/common/lib/xmodule/xmodule/contentstore/content.py +++ b/common/lib/xmodule/xmodule/contentstore/content.py @@ -127,8 +127,10 @@ class ContentStore(object): 'image/jpeg', thumbnail_file) contentstore().save(thumbnail_content) - except: - pass # thumbnails are ultimately optional + + except Exception, e: + # log and continue as thumbnails are generally considered as optional + logging.exception("Failed to generate thumbnail for {0}. Exception: {1}".format(content.location, str(e))) return thumbnail_content