[Koha-bugs] [Bug 25032] Generic unhandled exception handling
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 3 14:16:40 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25032
--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #11)
> The generated line in the log is:
>
> [2020/04/03 08:53:29] [ERROR] GET /api/v1/cities: unhandled exception (nada
> at /kohadevbox/koha/Koha/REST/V1/Cities.pm line 38.
> ) Koha::REST::Plugin::Exceptions::__ANON__
> /kohadevbox/koha/Koha/REST/Plugin/Exceptions.pm (61)
>
> What about having:
> [2020/04/03 08:57:23] [ERROR] GET /api/v1/cities: unhandled exception (
> nada at /kohadevbox/koha/Koha/REST/V1/Cities.pm line 38.
> ) Koha::REST::Plugin::Exceptions::__ANON__
> /kohadevbox/koha/Koha/REST/Plugin/Exceptions.pm (62)
>
> I think the thing that has been raised originally need to be highlighted.
You mean adding a newline?
> Won't we also need to display the type of the exception?
If it was a Koha::Exception-derived exception, then it will get stringified. Do
you still want to add the exception somehow?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list