diff --git a/common/lib/xmodule/capa_module.py b/common/lib/xmodule/capa_module.py index 7698c0937e..2c4a9c0465 100644 --- a/common/lib/xmodule/capa_module.py +++ b/common/lib/xmodule/capa_module.py @@ -109,7 +109,12 @@ class Module(XModule): score = d['score'] total = d['total'] if total > 0: - return Progress(score, total) + try: + return Progress(score, total) + except Exception as err: + if self.DEBUG: + return None + raise return None