|
@@ 266-269 (lines=4) @@
|
| 263 |
|
throw new FetcherException('an error occured while fetching remote data', 0, $e); |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
if (false === $content) { |
| 267 |
|
$error = error_get_last(); |
| 268 |
|
throw FetcherException::httpError($this->getLoader()->getRemoteIniUrl(), $error['message']); |
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
$this->getLogger()->debug('finished fetching remote file'); |
| 272 |
|
$this->getLogger()->debug('started storing remote file into local file'); |
|
@@ 360-365 (lines=6) @@
|
| 357 |
|
throw new FetcherException('an error occured while loading remote data', 0, $e); |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
if (false === $content) { |
| 361 |
|
$internalLoader = $this->getLoader()->getLoader(); |
| 362 |
|
$error = error_get_last(); |
| 363 |
|
|
| 364 |
|
throw FetcherException::httpError($internalLoader->getUri(), $error['message']); |
| 365 |
|
} |
| 366 |
|
|
| 367 |
|
$this->getLogger()->debug('finished fetching remote file'); |
| 368 |
|
|