https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43166
--- Comment #5 from Kyle M Hall (khall) <[email protected]> --- Created attachment 202824 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202824&action=edit Bug 43166: Enable stack traces for Plack and add carp_always to koha-conf.xml This patch enables Koha::Middleware::CarpAlways for the OPAC, staff interface, svc and REST API mounts, and documents the new carp_always entry in the koha-conf.xml templates. Test Plan: 1) Apply this patch 2) Add <carp_always>1</carp_always> to your instance's koha-conf.xml 3) Add a temporary warn to mainpage.pl, e.g. warn "Testing"; 4) Restart all the things! 5) Load the staff interface main page 6) Note the warning in plack-intranet-error.log now has a full stack trace! 7) Add a temporary warn to an API controller and hit that route, note the trace in plack-api-error.log! 8) Change the entry to <carp_always>moremember.pl</carp_always> and restart plack 9) Load the staff interface main page again 10) Note the warning is back to a single line, traces only apply to the scripts listed! 11) Remove the temporary warns -- 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/
