[Koha-bugs] [Bug 21067] New: Under plack, 500 errors only show as "Internal Server Error"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 12 16:37:25 CEST 2018


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

            Bug ID: 21067
           Summary: Under plack, 500 errors only show as "Internal Server
                    Error"
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list