diff --git a/cookiecutter/vcs.py b/cookiecutter/vcs.py index d9af1311c..4a846876e 100644 --- a/cookiecutter/vcs.py +++ b/cookiecutter/vcs.py @@ -115,6 +115,7 @@ def clone(repo_url, checkout=None, clone_to_dir='.', no_input=False): 'The {} branch of repository {} could not found, ' 'have you made a typo?'.format(checkout, repo_url) ) + logger.error('git clone failed with error: %s', output) raise return repo_dir