Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed #102: Report useful error message when fetch fails due to missing VCS tool #108
Conversation
marcoceppi
reviewed
Feb 12, 2016
| + **kw | ||
| + ) | ||
| + except OSError as e: | ||
| + raise FetchError('Unable to run "%s": %s' % (args[0], e.strerror)) |
marcoceppi
Feb 12, 2016
Owner
msg = 'Unable to run "%s": %s' % (args[0], e.strerror)
if e.errno == 127:
msg = msg + '\nPlease install "%s" before continuing.' % args[0]
raise FetchError(msg)That way the user has an actionable item?
|
|
added a commit
that referenced
this pull request
Feb 12, 2016
marcoceppi
merged commit 8de7743
into
juju:road-to-2.0
Feb 12, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
marcoceppi
added this to the 2.0 milestone
Feb 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
johnsca commentedFeb 12, 2016