Skip to content

Commit e8fce0c

Browse files
author
Michael Babker
committed
Change catch for fetching the rate limit (Fix #189)
1 parent b4df300 commit e8fce0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_patchtester/PatchTester/Controller/StartfetchController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function execute()
5353
$rateResponse = Helper::initializeGithub()->getRateLimit();
5454
$rate = json_decode($rateResponse->body);
5555
}
56-
catch (UnexpectedResponse $e)
56+
catch (\Exception $e)
5757
{
5858
$response = new \JResponseJson(
5959
new \Exception(

0 commit comments

Comments
 (0)