From ed04b5e31d6c6138fcf00c0c98e3f07a2d03b359 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 9 Oct 2024 09:25:08 -0700 Subject: [PATCH] missing permissions message --- src/EventListener/ExceptionListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventListener/ExceptionListener.php b/src/EventListener/ExceptionListener.php index 89c1dbb6f..e32a63db8 100644 --- a/src/EventListener/ExceptionListener.php +++ b/src/EventListener/ExceptionListener.php @@ -94,7 +94,7 @@ public function onConsoleError(ConsoleErrorEvent $event): void } if ($error instanceof \TypeError && str_contains($error->getMessage(), 'AcquiaCloudApi\Response')) { - $newErrorMessage = 'Cloud Platform API returned an unexpected data type. This is not an issue with Acquia CLI but could indicate a problem with your Cloud Platform application.'; + $newErrorMessage = 'Cloud Platform API returned an unexpected data type. This could be due to missing permissions or a problem with your Cloud Platform application.'; } if (!empty($this->helpMessages)) {