]> git.koha-community.org Git - koha.git/commit
Bug 31793: (QA follow-up) DelAuthority doesn't return errors
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 20:36:38 +0000 (17:36 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 13:21:19 +0000 (10:21 -0300)
commitb9d8e6be11dd6404c101ba328c45e141b2f9d37f
tree421e9a62d7afd630e35ac5c8f3b231836a528f07
parent36a86d747830cbeba8126b618bb8b6a040c931b4
Bug 31793: (QA follow-up) DelAuthority doesn't return errors

DelAuthority doesn't return an error, so the only possible error
conditions are exceptions, that are unknown for now. Removing the error
checking control structure and the 409 error returning, which is
inherited from DelBiblio's call on the biblios endpoint.

It will now just return a 500 in the event of an unhandled internal
error.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Authorities.pm