From 48c276d0966f98a727f472e6a9706d241495a87c Mon Sep 17 00:00:00 2001 From: Alexy Mikhailichenko Date: Tue, 26 Jul 2022 16:06:52 -0700 Subject: [PATCH] Add whitespace to exception message "Entity not loadedGrant" -> "Entity not loaded: Grant" --- Civi/Api4/Service/Spec/SpecGatherer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Api4/Service/Spec/SpecGatherer.php b/Civi/Api4/Service/Spec/SpecGatherer.php index d05acd275980..8dad1642eb2f 100644 --- a/Civi/Api4/Service/Spec/SpecGatherer.php +++ b/Civi/Api4/Service/Spec/SpecGatherer.php @@ -225,7 +225,7 @@ private function getCustomGroupFields($customGroup, RequestSpec $specification) private function getDAOFields(string $entityName): array { $bao = CoreUtil::getBAOFromApiName($entityName); if (!$bao) { - throw new \API_Exception('Entity not loaded' . $entityName); + throw new \API_Exception('Entity not loaded: ' . $entityName); } return $bao::getSupportedFields(); }