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

--- Comment #8 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 130008
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130008&action=edit
Bug 29857: Provide a generic full_message method for our exceptions

We pass useful information when throwing exceptions, but we don't
display them! We must display all the details we need when the exception
is stringified.

Test plan:

Use the following snippet:
  use Koha::Exceptions::Elasticsearch;
  Koha::Exceptions::Elasticsearch::BadResponse->throw( type => "a good type",
details => "and some details" );

Execute it without and with the patch.

Signed-off-by: Tomas Cohen Arazi <[email protected]>

-- 
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