mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-06-04 06:30:47 +00:00
Change catch for fetching the rate limit (Fix #189)
This commit is contained in:
parent
b4df300946
commit
e8fce0c7a6
|
@ -53,7 +53,7 @@ class StartfetchController extends AbstractController
|
|||
$rateResponse = Helper::initializeGithub()->getRateLimit();
|
||||
$rate = json_decode($rateResponse->body);
|
||||
}
|
||||
catch (UnexpectedResponse $e)
|
||||
catch (\Exception $e)
|
||||
{
|
||||
$response = new \JResponseJson(
|
||||
new \Exception(
|
||||
|
|
Loading…
Reference in New Issue
Block a user