[Koha-bugs] [Bug 34999] REST API: Typo error instead of message

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 24 11:47:45 CET 2023


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

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #1)
> Hmm. Not sure why it did not work? ->error and ->message should be
> interchangeable?

>From Exception::Class::Base

*error = \&message;

AND 

my %p    = @_ == 1 ? ( error => $_[0] ) : @_;
$self->{message} = $p{message} || $p{error} || q{};

Will use this report for something else.

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


More information about the Koha-bugs mailing list