[Koha-bugs] [Bug 29857] We must stringify our exceptions correctly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 8 17:10:18 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29857
--- Comment #26 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Marcel de Rooy from comment #19)
> (In reply to Jonathan Druart from comment #0)
> > We must have a generic full_message method in the Koha::Exceptions base
> > class to display all the info we have about the exception.
> > The current state is bad as we are displaying the "description" of the
> > exception but it does not contain useful information.
>
> Exception 'Koha::Exception::TestMR' thrown 'Something went wrong!' with
> status => x, type => HASH(0x5653eb753278)
>
> How useful is HASH(0x5653eb753278) ?
We should call Dumper if it's a struct.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list