projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f7c9e
)
Include more data in error message
author
eileen
<emcnaughton@wikimedia.org>
Wed, 21 Apr 2021 04:37:35 +0000
(16:37 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Wed, 21 Apr 2021 04:37:57 +0000
(16:37 +1200)
CRM/Core/ManagedEntities.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/ManagedEntities.php
b/CRM/Core/ManagedEntities.php
index 22d9f12f82a4d065db3db11743ede9159104b1eb..20739c8c6cf8b6764423d211e10e56ebae5ea5a2 100644
(file)
--- a/
CRM/Core/ManagedEntities.php
+++ b/
CRM/Core/ManagedEntities.php
@@
-474,7
+474,7
@@
class CRM_Core_ManagedEntities {
'params' => $params,
'result' => $result,
]);
- throw new Exception('API error: ' . $result['error_message']);
+ throw new Exception('API error: ' . $result['error_message']
. ' on ' . $entity . '.' . $action
);
}
}