From 8e0c80de9744e0b56b9da3749bbb8f5b7f30751a Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Mon, 18 Jan 2021 11:49:51 +0000 Subject: [PATCH] Bug 22544: Enhance exception description Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- Koha/News.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/News.pm b/Koha/News.pm index 379c6c80bc..82f9918de2 100644 --- a/Koha/News.pm +++ b/Koha/News.pm @@ -78,7 +78,7 @@ sub search_for_display { } elsif ( $params->{lang} ) { $search_params->{lang} = $params->{location} . '_' . $params->{lang}; } else { - Koha::Exceptions::BadParameter->throw("The location and lang parameters combination is not valid"); + Koha::Exceptions::BadParameter->throw("The location ($params->{location}) and lang ($params->{lang}) parameters combination is not valid"); } } -- 2.39.5