Commits

Panayiotis Lipiridis  committed 310674d

Included the error code in the title for error handling pages

  • Participants
  • Parent commits fdbebaf

Comments (0)

Files changed (1)

File main/main.py

 
   return flask.render_template(
       'error.html',
-      title='%s!!1' % (e.name),
+      title='Error %d (%s)!!1' % (e.code, e.name),
       html_class='error-page',
       error=e,
     ), e.code