mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Add missing error report
Use the same error message as in WheelBuilder.build(), include the exception in the message.
This commit is contained in:
parent
9573c2b6c6
commit
f60d15ca87
1 changed files with 5 additions and 1 deletions
|
@ -375,7 +375,11 @@ class WheelBuilder(object):
|
|||
wheel_hash.hexdigest())
|
||||
logger.info('Stored in directory: %s', output_dir)
|
||||
return dest_path
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
logger.warning(
|
||||
"Building wheel for %s failed: %s",
|
||||
req.name, e,
|
||||
)
|
||||
pass
|
||||
# Ignore return, we can't do anything else useful.
|
||||
self._clean_one(req)
|
||||
|
|
Loading…
Reference in a new issue