summaryrefslogtreecommitdiff
path: root/app/views/errors/500.html
diff options
context:
space:
mode:
authorHorus_Arch2015-02-12 18:48:08 +0100
committerHorus_Arch2015-02-12 18:48:08 +0100
commit218d04ca12051c4330156fc1f3290f27bb24c155 (patch)
treeb35c25174b40c93f52d94180a4228f0ced39b8ac /app/views/errors/500.html
downloadstatuspage-218d04ca12051c4330156fc1f3290f27bb24c155.tar.gz
Initial commit. With basic database schema.
Diffstat (limited to 'app/views/errors/500.html')
-rw-r--r--app/views/errors/500.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/errors/500.html b/app/views/errors/500.html
new file mode 100644
index 0000000..0cef4de
--- /dev/null
+++ b/app/views/errors/500.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Application error</title>
+ </head>
+ <body>
+ {{if eq .RunMode "dev"}}
+ {{template "errors/500-dev.html" .}}
+ {{else}}
+ <h1>Oops, an error occured</h1>
+ <p>
+ This exception has been logged.
+ </p>
+ {{end}}
+ </body>
+</html>