Permalink
Browse files

debug log for HTTPError

  • Loading branch information...
1 parent 2e077ce commit db42513f1a3d7e97a8a24370981eab90dd96e71a @ptone committed Mar 14, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 pip/req.py
View
@@ -984,6 +984,7 @@ def prepare_files(self, finder, force_root_egg_info=False, bundle=False):
try:
self.unpack_url(url, location, self.is_download)
except HTTPError:
+ logger.debug("HTTPError when unpacking %s" % url)
e = sys.exc_info()[1]
logger.fatal('Could not install requirement %s because of error %s'
% (req_to_install, e))

0 comments on commit db42513

Please sign in to comment.