mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
added link to bug tracker
This commit is contained in:
parent
18b9df74f9
commit
abc92385da
@ -23,8 +23,10 @@ def error_page_404(status, message, traceback, version):
|
|||||||
|
|
||||||
def error_page_500(status, message, traceback, version):
|
def error_page_500(status, message, traceback, version):
|
||||||
cfg.log.error("500 Internal Server Error. Trackback is above.")
|
cfg.log.error("500 Internal Server Error. Trackback is above.")
|
||||||
more="""<p>This is an internal error and not something you caused or can fix. You are welcome to report it.
|
more="""<p>This is an internal error and not something you caused
|
||||||
TODO: add link to bug tracker.</p>"""
|
or can fix. Please report the error on the <a
|
||||||
|
href="https://github.com/jvasile/Plinth/issues">bug tracker</a> so
|
||||||
|
we can fix it.</p>"""
|
||||||
return error_page(status, message, "<p>%s</p><pre>%s</pre>" % (more, "\n".join(traceback.split("\n"))))
|
return error_page(status, message, "<p>%s</p><pre>%s</pre>" % (more, "\n".join(traceback.split("\n"))))
|
||||||
|
|
||||||
class Root(plugin_mount.PagePlugin):
|
class Root(plugin_mount.PagePlugin):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user