[Koha-bugs] [Bug 27145] Patron deletion via intranet doesn't handle exceptions well

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 3 15:15:07 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27145

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 114149
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114149&action=edit
Bug 27145: Rethrow all other exceptions

Bug 14708 introduced a try catch around $patron->delete in commit "Bug 14708:
(QA follow-up) Use try/catch blocks when calling
". However, in the catch block it only assumes the exception was from trying to
delete anonymous patron when it can be anything else as well, the code should
be modified so that it will handle the anonymous patron case and if it is
anything else we log the other exception.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list