Merge pull request #4192 from edx/adam/change-logging-level-gradding

Lower logging level in grading condition from exception to info
This commit is contained in:
Adam
2014-06-24 10:34:48 -04:00

View File

@@ -259,7 +259,7 @@ def _grade(student, request, course, keep_raw_scores):
if graded_total.possible > 0:
format_scores.append(graded_total)
else:
log.exception("Unable to grade a section with a total possible score of zero. " +
log.info("Unable to grade a section with a total possible score of zero. " +
str(section_descriptor.location))
totaled_scores[section_format] = format_scores