👾 bugfix: no error message on exception
This commit is contained in:
parent
be4831bc54
commit
066a0096df
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ function civicrm_api3_twingle_project_Sync(array $params): array {
|
|||
$returnValues[$project->getId()] =
|
||||
$project->getResponse('TwingleProject created');
|
||||
} catch (Exception $e) {
|
||||
$errors[$result['id']] = $result['error_message'];
|
||||
$errors[$project_from_twingle['id']] = $e->getMessage();
|
||||
Civi::log()->error(
|
||||
E::LONG_NAME .
|
||||
' could not create TwingleProject: ' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue