Skip to content

Commit

Permalink
missing permissions message
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Oct 9, 2024
1 parent 8fb3280 commit ed04b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/ExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit ed04b5e

Please sign in to comment.