Commit 4366529a by ichuang

capa_problem log.error + raise -> log.debug + # FIXME

parent d68f0a3b
......@@ -155,13 +155,13 @@ class LoncapaProblem(object):
try:
maxscore += responder.get_max_score()
except Exception:
log.error('responder %s failed to properly return from get_max_score()' % responder)
log.debug('responder %s failed to properly return from get_max_score()' % responder) # FIXME
raise
else:
try:
maxscore += len(responder.get_answers())
except:
log.error('responder %s failed to properly return get_answers()' % responder)
log.debug('responder %s failed to properly return get_answers()' % responder) # FIXME
raise
return maxscore
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment