We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03673b8 commit c35d43aCopy full SHA for c35d43a
CRM/Core/BAO/CustomField.php
@@ -660,7 +660,7 @@ public static function getFieldObject($fieldID) {
660
if (empty($fieldValues)) {
661
$field->id = $fieldID;
662
if (!$field->find(TRUE)) {
663
- throw new CRM_Core_Exception('Cannot find Custom Field');
+ throw new CRM_Core_Exception('Cannot find Custom Field ' . $fieldID);
664
}
665
666
$fieldValues = [];
0 commit comments