Add API Framework Revel Source Files
[iec.git] / src / foundation / api / revel / templates / errors / 500.html
diff --git a/src/foundation/api/revel/templates/errors/500.html b/src/foundation/api/revel/templates/errors/500.html
new file mode 100644 (file)
index 0000000..ad63527
--- /dev/null
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+       <head>
+               <title>Application error</title>
+       </head>
+       <body>
+               {{if .DevMode}}
+               {{template "errors/500-dev.html" .}}
+               {{else}}
+               <h1>Oops, an error occured</h1>
+               <p>
+                       This exception has been logged.
+               </p>
+               {{end}}
+       </body>
+</html>