diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-09-24 13:36:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-09-24 13:36:21 +0200 |
commit | 1f9b5d832a2eb0bee0930b11dee424d19419fbd7 (patch) | |
tree | f76a549caba6bf498f45f9a8991056e2647813f5 /cgi | |
parent | 2065739683c36dff30bacb32575bb0d692f7ecac (diff) |
Expose backend errors in JSON
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/index.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl index 7e88cee..8ca7c5c 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -315,6 +315,7 @@ sub render_json { $self->render( json => { + error => $errstr, preformatted => \@preformatted, raw => \@raw_objects, } |