Q: DebugLevel=2 and version list; do we want backtraces?
Hi all. Is anyone else with DebugLevel 2 (which I think is the default) in their system preferences seeing a list of versions when Koha errors? There's code for it in C4::Context but it doesn't seem to work for me. Is C4::Context->preferences() really accessible from handle_errors like that? I've copied the backtrace snippet from mod_perl_startup.pl on http://www.gluelogic.com/code/BitTorrent/ into my C4::Context and control it from koha-httpd.conf with a SetEnv KOHA_BACKTRACES line. Do we want backtraces like that? I think KOHA_BACKTRACES may be better than DebugLevel because then we still get them if the database is unreachable. Waiting for feedback, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
participants (1)
-
MJ Ray