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

--- Comment #2 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 201819
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201819&action=edit
Bug 43041: Make intranet_svc mount catch and log uncaught exceptions

For reasons unkown, /intranet_svc doesn't have the HTTPExceptions
middleware enabled so an uncaught exception in a service script
ends up in plack-error.log

Test Plan:
1) Add a line that dies to the top of a service script such as svc/checkouts:
     die "This is a test";
2) Restart plack
3) Call the service, e.g. load the checkouts tab for a patron, which calls
   /cgi-bin/koha/svc/checkouts
4) Note the exception is written to plack-error.log with no timestamp
5) Apply this patch
6) Restart plack again
7) Repeat the call
8) Note the exception is now written to plack-intranet-error.log with a
   timestamp!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to