Bug 31368

Summary: Koha::Recalls->add_recall should throw exceptions
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 29734    
Bug Blocks:    

Description Tomás Cohen Arazi 2022-08-16 12:46:10 UTC
It instead returns undef. We should change this and properly handle exception cases. One remarkable example is missing mandatory parameters.