https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43166
--- Comment #3 from Kyle M Hall (khall) <[email protected]> --- Created attachment 202822 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202822&action=edit Bug 43166: Add Koha::Middleware::CarpAlways This patch adds a Plack middleware that localizes the warn and die handlers around a request when the request path matches the carp_always configuration. This makes the stack traces per script even though Plack workers are shared between all scripts. The middleware must be enabled after Plack::Middleware::LogWarn, which installs its own warn handler without chaining. Enabled after it, our handler runs first and chains to LogWarn's, so the traces land in the same plack error logs the plain warnings would have. -- 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/
