mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Log the exception when verbosity > 1
This commit is contained in:
parent
5605976160
commit
a1ccc52970
1 changed files with 3 additions and 1 deletions
|
@ -319,7 +319,9 @@ class InstallCommand(RequirementCommand):
|
||||||
message_parts.append(permissions_part)
|
message_parts.append(permissions_part)
|
||||||
message_parts.append("\n")
|
message_parts.append("\n")
|
||||||
|
|
||||||
logger.error("".join(message_parts))
|
logger.error(
|
||||||
|
"".join(message_parts), exc_info=(options.verbose > 1)
|
||||||
|
)
|
||||||
return ERROR
|
return ERROR
|
||||||
except PreviousBuildDirError:
|
except PreviousBuildDirError:
|
||||||
options.no_clean = True
|
options.no_clean = True
|
||||||
|
|
Loading…
Reference in a new issue