Mercurial > hg > Members > nobuyasu > TOModel
diff app/views/errors/500.html @ 0:e45bf6020b0d draft
add play files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Sep 2012 04:36:47 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/errors/500.html Tue Sep 18 04:36:47 2012 +0900 @@ -0,0 +1,21 @@ +<!DOCTYPE html> + +<html> + <head> + <title>Application error</title> + <meta http-equiv="Content-Type" content="text/html; charset=${_response_encoding}"/> + </head> + <body> + #{if play.mode.name() == 'DEV'} + #{500 exception /} + #{/if} + #{else} + <h1>Oops, an error occured</h1> + #{if exception instanceof play.exceptions.PlayException} + <p> + This exception has been logged with id <strong>${exception.id}</strong>. + </p> + #{/if} + #{/else} + </body> +</html>