Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Before download errors, output source and location #159

Merged
merged 2 commits into from
Oct 12, 2012
Merged

Conversation

justincampbell
Copy link
Contributor

Fixes #145

Installing ohai (1.1.2) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
Failed to download doesntexist from git: 'git://github.com/asdjhfkljashflkjashfakljsf'
An error occured during Git execution:

[source.location.download(storage_path), source.location]
begin
[source.location.download(storage_path), source.location]
rescue => error
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can actually write this

rescue
  # something
  raise
end

@reset
Copy link
Contributor

reset commented Oct 12, 2012

👍 looks good!

@justincampbell
Copy link
Contributor Author

@reset Awesome, updated it

reset added a commit that referenced this pull request Oct 12, 2012
Before download errors, output source and location
@reset reset merged commit ca796ca into master Oct 12, 2012
@berkshelf berkshelf locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

berks install error indicates wrong remote
2 participants