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

--- Comment #1 from Kyle M Hall <k...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to