X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FLegacyErrorHandler.php;h=ae0f1f9859351ac4be8a127edc2003fb2676b575;hb=f52694340988cd29f5f80b6392e7662bf33e8bf2;hp=a25dc320c7e42d04808618891b51c1358cf44a3c;hpb=1ae1509838474b74d3fba70bdcede8c7445cc809;p=civicrm-core.git diff --git a/CRM/Core/LegacyErrorHandler.php b/CRM/Core/LegacyErrorHandler.php index a25dc320c7..ae0f1f9859 100644 --- a/CRM/Core/LegacyErrorHandler.php +++ b/CRM/Core/LegacyErrorHandler.php @@ -4,6 +4,7 @@ * Class CRM_Core_LegacyErrorHandler */ class CRM_Core_LegacyErrorHandler { + /** * @param \Civi\Core\Event\UnhandledExceptionEvent $event * @throws Exception @@ -26,6 +27,7 @@ class CRM_Core_LegacyErrorHandler { // you should log a ticket for it to be removed with details about the form you were on. if (!empty($params['legacy_redirect_path'])) { if (CRM_Utils_System::isDevelopment()) { + $intentionalENotice = "How did you get HERE?! - Please log in JIRA"; // here we could set a message telling devs to log it per above } CRM_Utils_System::redirect($params['legacy_redirect_path'], $params['legacy_redirect_query']);