[Koha-bugs] [Bug 24813] api/v1/holds.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 6 14:55:38 CET 2020


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

--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #10)
> It's not related to 500 but 400. There is a
> Koha::Exceptions::Hold::CannotSuspendFound that is raised and we need to see
> it somewhere.

My gut feeling is we should somehow overload Test::Mojo so it does ->or( sub {
diag $t->tx->res->to_string } ), or just add it everywhere and enforce it as a
coding guideline.

This would give us more light on handled exceptions, but we still need
something for unhandled exceptions, in the lines of bug 18206 (probably making
use of a helper instead, but you get the point).

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


More information about the Koha-bugs mailing list