Skip to content

Commit 13c13ed

Browse files
committed
fix: correct printing of errors
Instead of printing err (which is a handle to rich formatter) we print errors - which are the real output of the failed command. Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
1 parent f15af7e commit 13c13ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipenv/utils/resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ def resolve(cmd, st, project):
767767
st.console.print(environments.PIPENV_SPINNER_FAIL_TEXT.format("Locking Failed!"))
768768
err.print(out.strip())
769769
if not is_verbose:
770-
err.print(err)
770+
err.print(errors)
771771
raise RuntimeError("Failed to lock Pipfile.lock!")
772772
if is_verbose:
773773
err.print(out.strip())

0 commit comments

Comments
 (0)