Skip to content
Snippets Groups Projects
Unverified Commit 9032652c authored by AsadAzam's avatar AsadAzam Committed by GitHub
Browse files

Merge pull request #22457 from edx/dsheraz/PROD-1000-logs

log exception for further context
parents 054fa85f 99d694c8
No related merge requests found
......@@ -441,6 +441,7 @@ class CapaMixin(ScorableXBlockMixin, CapaFields):
})
def handle_fatal_lcp_error(self, error):
log.exception(u"LcpFatalError Encountered for {block}".format(block=str(self.location)))
if error:
return(
HTML(u'<p>Error formatting HTML for problem:</p><p><pre style="color:red">{msg}</pre></p>').format(
......
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