Skip to content

Commit

Permalink
Fix exceptions (#405)
Browse files Browse the repository at this point in the history
* Fix all issues

* Update src/Helper/Log/GoogleApiClient.php

Co-authored-by: Travis Carden <travis.carden@gmail.com>

* Revert return value changes

---------

Co-authored-by: Travis Carden <travis.carden@gmail.com>
  • Loading branch information
Sayan Goswami and TravisCarden authored Jun 19, 2023
1 parent 59b99c6 commit 7c13014
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions example/tests/packages_alter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,19 @@ drupal/example:

# Remove the Example Submodule: Remove module.
drupal/example_submodule_remove: ~

# Dependencies required to run ORCA's self tests.
drush/drush:
is_company_package: false
core_matrix:
9.x:
version: 11.x
version_dev: 11.x
'*':
version: 12.x
version_dev: 12.x-dev

phpspec/prophecy-phpunit:
is_company_package: false
version: 2.x
version_dev: 2.x
2 changes: 1 addition & 1 deletion src/Helper/Log/GoogleApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function getToken(): ?string {
}
catch (ExceptionInterface $e) {
$this->output->comment('An error occurred accessing the auth token from Google API endpoint.\n' . $e->getMessage());
exit;
return NULL;
}
}

Expand Down

0 comments on commit 7c13014

Please sign in to comment.