]> git.koha-community.org Git - koha.git/commit
Bug 33028: Make exception less generic
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 18 Jul 2023 18:05:50 +0000 (15:05 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Jul 2023 15:06:47 +0000 (12:06 -0300)
commit9b7c077c9ddade728a7d84a1cf2f5b62cc4d4841
tree98d1085de73a84a80db52ef7a8332675ac730e76
parent82bdaa8fbcdf836dd2fea93850173f15f17b7de9
Bug 33028: Make exception less generic

While testing this bug I found Circulation.t was failing, but the
exception doesn't actually display anything useful in terms of helping
debug what's going on.

This patch makes it add the rule_name and rule_value to the message.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/CirculationRules.pm
Koha/Exceptions/CirculationRule.pm [new file with mode: 0644]