View | Details | Raw Unified | Return to bug 36421
Collapse All | Expand All

(-)a/Koha/REST/V1/Auth.pm (-1 / +2 lines)
Lines 95-100 sub under { Link Here
95
95
96
    } catch {
96
    } catch {
97
        unless (blessed($_)) {
97
        unless (blessed($_)) {
98
            warn $_;
98
            return $c->render(
99
            return $c->render(
99
                status => 500,
100
                status => 500,
100
                json => { error => 'Something went wrong, check the logs.' }
101
                json => { error => 'Something went wrong, check the logs.' }
Lines 128-133 sub under { Link Here
128
            return $c->render(status => 500, json => { error => $_->error });
129
            return $c->render(status => 500, json => { error => $_->error });
129
        }
130
        }
130
        else {
131
        else {
132
            warn Data::Dumper::Dumper($_);
131
            return $c->render(
133
            return $c->render(
132
                status => 500,
134
                status => 500,
133
                json => { error => 'Something went wrong, check the logs.' }
135
                json => { error => 'Something went wrong, check the logs.' }
134
- 

Return to bug 36421