[Koha-bugs] [Bug 20590] Koha::Exceptions does not stringify the exceptions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 19 16:26:37 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20590
--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 74563
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74563&action=edit
Bug 20590: Include Koha::Exceptions::Exception
This patch makes Koha::Exceptions::Object include
Koha::Exceptions::Exception so it is not required to include it
excplicitly for using this exceptions.
To test:
- Run:
$ kshell
$k prove t/Koha/Exceptions.t
=> FAIL: Tests fail because Koha::Exceptions::Exception is not
(implicitly or explicitly included)
- Apply this patch
- Run
k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests pass!
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list