Skip to content

Commit

Permalink
Merge pull request #23466 from totten/master-timeout-guzzle
Browse files Browse the repository at this point in the history
CRM_Utils_Check - Catch Guzzle exception, same as core exception
  • Loading branch information
eileenmcnaughton authored May 16, 2022
2 parents bb99b1c + 2021c3d commit 0f02241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/Check/Component/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ public function checkExtensions() {
try {
$remotes = $extensionSystem->getBrowser()->getExtensions();
}
catch (CRM_Extension_Exception $e) {
catch (CRM_Extension_Exception | \GuzzleHttp\Exception\GuzzleException $e) {
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
$e->getMessage(),
Expand Down

0 comments on commit 0f02241

Please sign in to comment.