Bug 21067 - Under plack, 500 errors only show as "Internal Server Error"
Summary: Under plack, 500 errors only show as "Internal Server Error"
Status: RESOLVED DUPLICATE of bug 26048
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-12 14:37 UTC by Barton Chittenden
Modified: 2020-07-23 06:33 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***