From f75fb0153ebaeaa0d49812622f80e2cdcd4337bb 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: 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 ecfd2c1af2..6695302cea 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.37.3