fix(errors): properly output API error information

This commit is contained in:
Benedikt Rötsch
2018-02-07 17:24:25 +01:00
committed by Benedikt Rötsch
parent 54d1879445
commit 9ca77e4e9c

View File

@@ -24,8 +24,8 @@ block content
li #{translate('stackTraceErrorLabel', currentLocale.code)} li #{translate('stackTraceErrorLabel', currentLocale.code)}
if error.response if error.response
h2 #{translate('errorLabel', currentLocale.code)} h2 #{translate('errorLabel', currentLocale.code)}
pre.error__stack-trace pre.error__stack-trace
code.shell #{helpers.dump(error.response.data)} code.shell #{helpers.dump(error.response.data)}
if error.stack if error.stack
h2 #{translate('stackTraceLabel', currentLocale.code)} h2 #{translate('stackTraceLabel', currentLocale.code)}
pre.error__stack-trace pre.error__stack-trace