https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43166
--- Comment #7 from Kyle M Hall (khall) <[email protected]> --- Created attachment 202826 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202826&action=edit Bug 43166: Append stack traces to SIP server warnings and errors The SIP server ties STDERR to C4::SIP::Trapper and installs its own global die handler, so the Plack middleware approach doesn't apply there. Instead, Trapper appends the trace itself when SIPServer.pm matches the carp_always configuration. Test Plan: 1) Apply this patch 2) Add <carp_always>SIPServer.pm</carp_always> to your instance's koha-conf.xml 3) Add a temporary warn to process_request in C4/SIP/SIPServer.pm 4) Restart the SIP server 5) Connect to the SIP port, e.g. echo | nc localhost 6001 6) Note the warning in sip-output.log now has a full stack trace! 7) Remove the temporary warn -- 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/
