Bug 21067

Summary: Under plack, 500 errors only show as "Internal Server Error"
Product: Koha Reporter: Barton Chittenden <barton>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, wizzyrea
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Barton Chittenden 2018-07-12 14:37:25 UTC
When plack is not running, 500 errors will show the error message of the perl file where the error occurred, as well as a contact email address, something like this:

    500 Internal Server Error

    Use of uninitialized value within @itemnumber in string ne at
    /usr/share/koha/intranet/cgi-bin/reserve/modrequest.pl line 70.

    To report a broken link or any other issue, please contact the Koha Administrator.

(I think the text is actually from koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt)


Under plack, all we see is

    Internal Server Error

This means that

a) Errors are less likely to be reported to the server administrator because there's no mailto.
b) We can't immediately see the error message when the error is reported.
Comment 1 Liz Rea 2020-06-15 15:06:22 UTC
Would really love to see a fix for this.
Comment 2 Jonathan Druart 2020-07-23 06:33:30 UTC

*** This bug has been marked as a duplicate of bug 26048 ***