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

Raise an error if the config file can not be found #22

Open
jcoyne opened this issue Jul 19, 2016 · 0 comments
Open

Raise an error if the config file can not be found #22

jcoyne opened this issue Jul 19, 2016 · 0 comments

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Jul 19, 2016

Presently it doesn't raise an error until it tries to access the data:

NoMethodError (undefined method `[]' for nil:NilClass):
  harvestdor (0.2.0) lib/harvestdor/client.rb:35:in `initialize'
  harvestdor-indexer (2.3.1) lib/harvestdor/indexer.rb:140:in `new'
  harvestdor-indexer (2.3.1) lib/harvestdor/indexer.rb:140:in `harvestdor_client'
  harvestdor-indexer (2.3.1) lib/harvestdor/indexer/resource.rb:26:in `harvestdor_client'
  harvestdor-indexer (2.3.1) lib/harvestdor/indexer/resource.rb:140:in `block in identity_metadata'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant