1
0
Fork 0

More debug output, refs #6342

pull/5039/merge
Jordi Boggiano 2017-04-19 13:37:41 +02:00
parent 3c1e7a67cf
commit bf82bfdb10
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ class RemoteFilesystem
$e->setHeaders($http_response_header); $e->setHeaders($http_response_header);
$e->setStatusCode($this->findStatusCode($http_response_header)); $e->setStatusCode($this->findStatusCode($http_response_header));
$e->setResponse($result); $e->setResponse($result);
$this->io->writeError('Content-Length mismatch, received "'.$result.'" ('.Platform::strlen($result).' out of '.$contentLength.' bytes)', true, IOInterface::DEBUG);
throw $e; throw $e;
} }