|
@@ 372-375 (lines=4) @@
|
| 369 |
|
throw new FetcherException('an error occured while fetching remote data', 0, $e); |
| 370 |
|
} |
| 371 |
|
|
| 372 |
|
if (false === $content) { |
| 373 |
|
$error = error_get_last(); |
| 374 |
|
throw FetcherException::httpError($this->getLoader()->getRemoteIniUrl(), $error['message']); |
| 375 |
|
} |
| 376 |
|
|
| 377 |
|
$this->getLogger()->debug('finished fetching remote file'); |
| 378 |
|
$this->getLogger()->debug('started storing remote file into local file'); |
|
@@ 466-471 (lines=6) @@
|
| 463 |
|
throw new FetcherException('an error occured while loading remote data', 0, $e); |
| 464 |
|
} |
| 465 |
|
|
| 466 |
|
if (false === $content) { |
| 467 |
|
$internalLoader = $this->getLoader()->getLoader(); |
| 468 |
|
$error = error_get_last(); |
| 469 |
|
|
| 470 |
|
throw FetcherException::httpError($internalLoader->getUri(), $error['message']); |
| 471 |
|
} |
| 472 |
|
|
| 473 |
|
$this->getLogger()->debug('finished fetching remote file'); |
| 474 |
|
|