log exception for further context
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user