X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/01cd9908731ffbf23f58fde2b64153a35e950a80..e5990205f8fad1c4299dd91729787d2b003c4081:/code/templates/error.mako?ds=sidebyside diff --git a/code/templates/error.mako b/code/templates/error.mako index 51c6a65..77c357b 100644 --- a/code/templates/error.mako +++ b/code/templates/error.mako @@ -5,10 +5,16 @@ ERROR! +%if os.path.exists("/etc/invirt/motd.html"): +
+

${open('/etc/invirt/motd.html').read()|n}

+
+%endif +

Uh-oh! We experienced an error. Sorry about that. We've gotten mail about it.

-

Feel free to poke us at xvm@mit.edu if this bug is +

Feel free to poke us at ${config.contact} if this bug is consistently biting you and we don't seem to be fixing it.

In case you're curious, the gory details are below.