fix(errors): properly output API error information
This commit is contained in:
committed by
Benedikt Rötsch
parent
54d1879445
commit
9ca77e4e9c
@@ -24,8 +24,8 @@ block content
|
||||
li #{translate('stackTraceErrorLabel', currentLocale.code)}
|
||||
if error.response
|
||||
h2 #{translate('errorLabel', currentLocale.code)}
|
||||
pre.error__stack-trace
|
||||
code.shell #{helpers.dump(error.response.data)}
|
||||
pre.error__stack-trace
|
||||
code.shell #{helpers.dump(error.response.data)}
|
||||
if error.stack
|
||||
h2 #{translate('stackTraceLabel', currentLocale.code)}
|
||||
pre.error__stack-trace
|
||||
|
||||
Reference in New Issue
Block a user