LOL I thought it seemed familiar, let's do that instead. But I would like
to clarify the message in the UI for sure, since it is confusing to people.
  Simple exception handling where that is false created some other issue
which I can't remember at this moment.  It's really two different issues,
one when the internet is not available and one where it us but where the
domain does not exist, but effectively it is the same in terms of throwing
an ugly error.

Elin


On Wed, Aug 7, 2013 at 3:52 AM, Nicholas K. Dionysopoulos <
notifications@github.com> wrote:

> In libraries/joomla/http/http.php:
>
> > @@ -169,7 +169,14 @@ public function get($url, array $headers = null, $timeout = null)
> >  			$timeout = $this->options->get('timeout');
> >  		}
> >
> > -		return $this->transport->request('GET', new JUri($url), null, $headers, $timeout, $this->options->get('userAgent', null));
> > +		try
>
> I agree with Micahel. We should move away from manual error handling and
> rely on exceptions. Exceptions are faster and have the benefit of being
> very agnostic to the code structure. An exception will flow up the call
> stack until it's handled, making the code more versatile and sparing us
> gazillions of slow and cryptic if blocks.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joomla/joomla-cms/pull/1683/files#r5625486>
> .
>