summaryrefslogtreecommitdiffstats
path: root/templates/status/500.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/status/500.tmpl')
-rw-r--r--templates/status/500.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index dd7358115d..07edd3620a 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -2,8 +2,8 @@
{{template "base/navbar" .}}
<div id="body" class="container text-center">
<p style="margin-top: 80px"><img src="/img/500.png" alt="404"/></p>
- <hr/>
- <p>An error is occurred : {{.ErrorMsg}}</p>
+ {{if .ErrorMsg}}<hr/>
+ <p>An error is occurred : {{.ErrorMsg}}</p>{{end}}
<hr/>
<p>Application Version: {{AppVer}}</p>
</div>