frontend: error page

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-28 00:20:26 -07:00 committed by Simon Zeltser
parent 91493bf0a3
commit 3089712084
2 changed files with 35 additions and 24 deletions

View file

@ -6,8 +6,11 @@
<div class="container bg-light py-3 px-lg-5 py-lg-5">
<h1>Uh, oh!</h1>
<p>Something has failed. Below are some details for debugging.</p>
<pre>
{{.errorMsg}}
<p><strong>HTTP Status:</strong> {{.status_code}} {{.status}}</p>
<pre class="border border-danger"
style="white-space: pre-wrap; word-break: keep-all;">
{{- .error -}}
</pre>
</div>
</div>