Skip to content

APIWrapper: Rethrow exception

dotu requested to merge dotu/de-forumzfd-twinglecampaign:rethrow-exception into main

The method \CRM_TwingleCampaign_Utils_APIWrapper::createSoftCredit() has the return type array. Though in case of an CiviCRM_API3_Exception the method ends without returning anything which will result in an PHP error. This PR rethrows the exception.

Merge request reports

Loading