Skip to content

Commit

Permalink
Expose error when failing to check repo with git
Browse files Browse the repository at this point in the history
  • Loading branch information
niosus committed Mar 1, 2018
1 parent 5310a84 commit a6c1929
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions catkin_tools_fetch/lib/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ def repository_exists(dependency):
# Update the working url if needed.
dependency.url = url
return dependency, True
except subprocess.CalledProcessError:
log.debug('Package "%s" was not found under: "%s"',
dependency.name, url)
except subprocess.CalledProcessError as e:
log.debug(
'Package "%s" was not found under: "%s" with error: %s',
dependency.name, url, e)
# If we reached here we failed to find the dependency.
return dependency, False

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from setuptools import find_packages
from setuptools.command.install import install

version_str = '0.3.2'
version_str = '0.3.3'

# Setup installation dependencies
install_requires = [
Expand Down

0 comments on commit a6c1929

Please sign in to comment.