mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
ssl errors should show by default w/o -v
This commit is contained in:
parent
ee3fb0250a
commit
50e2662bb4
|
@ -492,7 +492,9 @@ class HTMLPage(object):
|
|||
#ssl/certificate error
|
||||
if ssl and hasattr(e, 'reason') and (isinstance(e.reason, ssl.SSLError) or isinstance(e.reason, CertificateError)):
|
||||
desc = 'there was a problem confirming the ssl certificate %s' % e
|
||||
log_meth = logger.info
|
||||
log_meth = logger.notify
|
||||
else:
|
||||
log_meth = logger.info
|
||||
if hasattr(e, 'reason') and isinstance(e.reason, socket.timeout):
|
||||
desc = 'timed out'
|
||||
level = 1
|
||||
|
|
Loading…
Reference in a new issue