[Koha-bugs] [Bug 36421] REST API 500 errors say to check the logs, but suppress errors that would be there

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 25 19:42:55 CET 2024


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 163856
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163856&action=edit
Bug 36421: REST API 500 errors say to check the logs, but suppress errors that
would be there

If a REST auth error happens that that is unblessed or uncaught, we should warn
the value to the logs.

Test Plan:
1) Install the curbside pickups plugin
2) create a patron with the userid 'puser' and the cardnumber 'pcard'
3) GET /api/v1/contrib/curbsidepickup/patrons/XXX/pickups using basic auth with
the username 'pcard' where XXX is the patron borrowernumber
4) Note there is no error in the logs
5) Apply this patch
6) Repeat step 3
7) You should now see an error in the logs!

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


More information about the Koha-bugs mailing list