From bcb5b076ce2b9ef9676f1f702c90ea2b0703a827 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 6 Jan 2021 13:11:34 -0300 Subject: [PATCH] Bug 27352: Missed case in bug 25032 Probably because of the order things got pushed. Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- Koha/REST/V1/Biblios.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Koha/REST/V1/Biblios.pm b/Koha/REST/V1/Biblios.pm index 4e803b1988..efe7c5dfe8 100644 --- a/Koha/REST/V1/Biblios.pm +++ b/Koha/REST/V1/Biblios.pm @@ -230,10 +230,7 @@ sub get_public { ); } catch { - return $c->render( - status => 500, - openapi => { error => "Something went wrong, check the logs ($_)" } - ); + $c->unhandled_exception($_); }; }