From 27ce92a8bd647aedc01e40f65bf914bf60b14df8 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 30 Aug 2022 10:19:24 -0300 Subject: [PATCH] Bug 31378: Add 'parameter' parameter to Koha::Exceptions::MissingParameter Signed-off-by: Lukasz Koszyk Signed-off-by: Tomas Cohen Arazi --- Koha/Exceptions.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Exceptions.pm b/Koha/Exceptions.pm index ecfd2c1af20..6695302cea9 100644 --- a/Koha/Exceptions.pm +++ b/Koha/Exceptions.pm @@ -38,7 +38,8 @@ use Exception::Class ( }, 'Koha::Exceptions::MissingParameter' => { isa => 'Koha::Exception', - description => 'A required parameter is missing' + description => 'A required parameter is missing', + fields => ['parameter'], }, 'Koha::Exceptions::ParameterTooHigh' => { isa => 'Koha::Exception', -- 2.34.1