frontend: use pkg/errors, show full stacktrace

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-28 22:03:39 -07:00 committed by Simon Zeltser
parent 307404714b
commit 84ff69147e
6 changed files with 56 additions and 66 deletions

View file

@ -8,7 +8,7 @@
<p>Something has failed. Below are some details for debugging.</p>
<p><strong>HTTP Status:</strong> {{.status_code}} {{.status}}</p>
<pre class="border border-danger"
<pre class="border border-danger p-3"
style="white-space: pre-wrap; word-break: keep-all;">
{{- .error -}}
</pre>