Skip to content

Commit

Permalink
just use $e
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Apr 18, 2017
1 parent 7b709b8 commit c7cd5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/feed/factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public function getFeed($uri)
{
$response = JHttpFactory::getHttp($options)->get($uri);
}
catch (RuntimeException $exception)
catch (RuntimeException $e)
{
throw new RuntimeException('Unable to open the feed.', $exception->getCode(), $exception);
throw new RuntimeException('Unable to open the feed.', $e->getCode(), $e);
}

if ($response->code != 200)
Expand Down

0 comments on commit c7cd5b1

Please sign in to comment.