From dab22fd0902aad3fcc625a43464b78eb069e111a Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Fri, 22 Dec 2017 13:40:59 -0500 Subject: [PATCH] Cast exception to string before passing to click.echo Without this, tests were producing a traceback that isn't seen when running pipenv from the console. --- pipenv/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 29765eba..03f2740a 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -516,7 +516,7 @@ def actually_resolve_reps(deps, index_lookup, markers_lookup, project, sources, ), err=True) - click.echo(crayons.blue(e)) + click.echo(crayons.blue(str(e))) if 'no version found at all' in str(e): click.echo(crayons.blue('Please check your version specifier and version number. See PEP440 for more information.'))