Merge pull request #15437 from edx/jlajoie/EDUCATOR-793

EDUCATOR-793: converts TypeError,NotFoundError logging to debug only
This commit is contained in:
Jeff LaJoie
2017-06-29 16:12:09 -04:00
committed by GitHub

View File

@@ -239,7 +239,7 @@ class VideoStudentViewHandlers(object):
try:
transcript = self.translation(request.GET.get('videoId', None), transcripts)
except (TypeError, NotFoundError) as ex:
log.info(ex.message)
log.debug(ex.message)
# Try to return static URL redirection as last resort
# if no translation is required
return self.get_static_transcript(request, transcripts)