Skip to content

catch exception to allow check to complete

Running cv api system.check on a site that was newly upgraded to gocardless 1.9 I got the following output:

Array
(
    [is_error] => 1
    [error_message] => Expected one OptionValue but found 0
)

Catching the exception fixes the issue for me and I now see "Missing Financial Account for GoCardless" on my status screen.

My might try an be more specific and replace Exception with CiviCRM_API3_Exception. What do you think? Happy to be guided by you on that.

Merge request reports

Loading