Ver código fonte

More debug output, refs #6342

Jordi Boggiano 8 anos atrás
pai
commit
bf82bfdb10
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/Composer/Util/RemoteFilesystem.php

+ 1 - 0
src/Composer/Util/RemoteFilesystem.php

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