[Koha-bugs] [Bug 22678] Set 'Koha::Logger' as the default mojo logger for the REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 26 08:28:17 CEST 2022


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

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #3)
>   Can't call method "error" on an undefined value at
> /usr/share/perl5/Mojolicious/Plugin/DefaultHelpers.pm line 94.

  $c->helpers->log->error(($e = _is_e($e) ? $e :
Mojo::Exception->new($e))->inspect) if $page eq 'exception';

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


More information about the Koha-bugs mailing list