Koha-clms/Koha/REST/V1/ERM
Jonathan Druart af34d97928
Bug 33482: Propagate errors from EBSCO's ws to the UI
When adding or removing eholdings from EBSCO, if an error happens it is
lost and not propagated to the UI.

We were missing a return in the logic, and always returning 200

Test plan:
Do not apply (or revert) bug 33481
Configure EBSCO for ERM and add a package to your holdings
With this patch applied you will get a 500 that is propagated to the UI
Without this patch nothing happens and the user is not aware that
something bad happened

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-05 09:13:18 -03:00
..
EHoldings Bug 33482: Propagate errors from EBSCO's ws to the UI 2023-05-05 09:13:18 -03:00
Agreements.pm Bug 32030: Max document file size - server-side validation 2022-11-08 09:44:45 -03:00
Documents.pm Bug 32030: Add document to license - Preparation step 2022-11-08 09:44:30 -03:00
Licenses.pm Bug 32030: Add users to licenses 2022-11-08 09:44:47 -03:00