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

--- Comment #12 from Tomás Cohen Arazi <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to