Files
edx-platform/lms/templates/module-error.html
Victor Shnayder 365495521e Catch errors in module load
* if error is in xmodule_constructor(), catch and return an ErrorModule
* if error is somewhere else in get_module(), return None
2012-08-22 12:58:46 -04:00

21 lines
472 B
HTML

<section class="outside-app">
<h1>There has been an error on the <em>MITx</em> servers</h1>
<p>We're sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible. Please email us at <a href="mailto:technical@mitx.mit.edu">technical@mitx.mit.edu</a> to report any problems or downtime.</p>
% if staff_access:
<h1>Details</h1>
<p>Error:
<pre>
${error | h}
</pre>
</p>
<p>Raw data:
<pre>${data | h}</pre>
</p>
% endif
</section>