1. Panayiotis Lipiridis
  2. gae-init-pro

Commits

Panayiotis Lipiridis  committed 310674d

Included the error code in the title for error handling pages

  • Participants
  • Parent commits fdbebaf
  • Branches default

Comments (0)

Files changed (1)

File main/main.py

View file
  • Ignore whitespace
 
   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