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.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 6dfc1d7ace..2e01e8ac74 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -3,7 +3,8 @@
<p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/500.png" alt="500"/></p>
<div class="ui divider"></div>
<br>
- {{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}}
+ {{if .ErrorMsg}}<p>An error has occurred :</p>
+ <pre style="text-align: left">{{.ErrorMsg}}</pre>{{end}}
{{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
{{if .IsAdmin}}<p>If you are sure this is Gitea bug, please search for issue on <a href="https://github.com/go-gitea/gitea/issues">GitHub</a> and open new issue if necessary.</p>{{end}}
</div>