From 2f2d84316a445625c406ca22ceb692df01b5acd4 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 27 Oct 2017 09:30:17 +0200 Subject: [PATCH] Bug 17214: (QA follow-up) Print error message too in fallback case If the error code is not known or empty, provide the message too. Signed-off-by: Marcel de Rooy Tested this by adding a die on shelves.pl line 180 (my $added = eval ..) Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index a81214f418..ed45298df5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -423,7 +423,7 @@ function AdjustRemark() { [% CASE 'DBIx::Class::Exception' %] [% m.msg %] [% CASE %] - [% m.code %] + [% m.code %] [% m.msg %] [% END %] [% END %] -- 2.39.5