From 4c941e275936a47c3907cd99a913aeeb9ec86a34 Mon Sep 17 00:00:00 2001 From: colemanw Date: Tue, 7 Nov 2023 14:49:30 -0500 Subject: [PATCH] More descriptive deprecation notice for Angular settings --- Civi/Angular/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Angular/Manager.php b/Civi/Angular/Manager.php index 1a382743cb..1dd3457824 100644 --- a/Civi/Angular/Manager.php +++ b/Civi/Angular/Manager.php @@ -136,7 +136,7 @@ class Manager { // Merge in defaults $angularModules[$module] += ['basePages' => ['civicrm/a']]; if (!empty($info['settings'])) { - \CRM_Core_Error::deprecatedWarning('Angular "settings" is not supported. See https://github.com/civicrm/civicrm-core/pull/19052'); + \CRM_Core_Error::deprecatedWarning(sprintf('The Angular file "%s" from extension "%s" must be updated to use "settingsFactory" instead of "settings". See https://github.com/civicrm/civicrm-core/pull/19052', $info['module'], $info['ext'])); } // Validate settingsFactory callables if (isset($info['settingsFactory'])) { -- 2.25.1