31
0
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:
Michael Babker 2017-04-22 12:00:02 -05:00
parent b4df300946
commit e8fce0c7a6

View File

@ -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(