Bug 17214: (QA follow-up) Print error message too in fallback case
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 27 Oct 2017 07:30:17 +0000 (09:30 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:10:26 +0000 (14:10 -0300)
commit2f2d84316a445625c406ca22ceb692df01b5acd4
tree2a3344699d280b3f3328b1d45dcab48ce84a00c9
parent70d72e3d9c072dd5e59c57026898bbd44fe7e1a7
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 <m.de.rooy@rijksmuseum.nl>
Tested this by adding a die on shelves.pl line 180 (my $added = eval ..)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt