Bug 29053 - ILSDI Internal Server errors seem not to log anywhere?
Summary: ILSDI Internal Server errors seem not to log anywhere?
Status: RESOLVED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 20.05
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-18 15:53 UTC by Liz Rea
Modified: 2023-06-22 18:36 UTC (History)
3 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 Liz Rea 2021-09-18 15:53:05 UTC
Had a situation where ILSDI was throwing an internal server error, but none of the logs (plack-intranet-error, plack-error, intranet-error, plack-opac-error, opac-error, or really anywhere in /var/log/koha/instance/) seemed to be logging the errors.

I'd be happy to be wrong about this one lol.

Liz
Comment 1 Liz Rea 2021-09-18 15:54:08 UTC
The test case was a place hold via ilsdi, with a dateformat that was not in ISO format, which was a bug with the requesting software.
Comment 2 Jonathan Druart 2021-11-19 14:02:47 UTC
Looks good to me on master.

/cgi-bin/koha/ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1&expiry_date=3214

I am getting a stacktrace in the logs

==> /var/log/koha/kohadev/plack-error.log <==                                                                                                                                                                        Invalid date '3214' passed to output_pref at /usr/share/perl5/Exception/Class/Base.pm line 88                                                                                                                                Exception::Class::Base::throw('Koha::Exceptions::WrongParameter', 'Invalid date \'3214\' passed to output_pref') called at /kohadevbox/koha/Koha/DateUtils.pm line 276