[Bug 43041] Uncaught exceptions and DBI errors are not timestamped in plack-error.log
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43041 --- Comment #2 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org