[Koha-bugs] [Bug 21134] Wrong error handling in Koha/Patron/Modification.pm hides a bug
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 31 17:46:11 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21134
--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
To test you can play with the following snippet:
use Koha::Exceptions::Patron::Modification;
use Try::Tiny;
try {
die "this is a specific error";
} catch {
Koha::Exceptions::Patron::Modification->throw($@);
};
then replace $@ with $_
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list