https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27557

--- Comment #2 from Jonathan Druart <[email protected]> 
---
Created attachment 118293
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118293&action=edit
Bug 27557: Display stacktrace on 500 for superlibrarian

From pod for Plack::Middleware::StackTrace:
"""
Gathering the information for a stack trace via Devel::StackTrace is slow, and
Devel::StackTrace::WithLexicals is significantly slower still. This is not
usually a concern in development and when exceptions are rare. However, your
application may include code that's throwing and catching exceptions that
you're not aware of. Such code will run significantly slower with this module.
"""
Maybe we should avoid the stacktrace and prefer to retrieve the error
only, without the stacktrace? (but how?)

cp C4/Auth.pm /usr/share/koha/lib/C4/Auth.pm
cp debian/templates/plack.psgi /etc/koha/sites/kohadev/plack.psgi
cp errors/500.pl /usr/share/koha/intranet/cgi-bin/errors/500.pl
cp koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/errors/errorpage.tt
restart_all

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to