https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43041
--- Comment #5 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 201864 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201864&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! Signed-off-by: Martin Renvoize <[email protected]> -- 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/
