18F / open-data-maker

make it easy to turn a lot of potentially large csv files into easily accessible open data
Other
199 stars 135 forks source link

NR error: "Undefined method '[]' for nil:NilClass" in DataMagic#client:286 #284

Closed yozlet closed 8 years ago

yozlet commented 8 years ago

Trace:

/home/vcap/app/lib/data_magic.rb: 286:in `client'
/home/vcap/app/lib/data_magic.rb:  90:in `search'
/home/vcap/app/app/controllers.rb:  69:in `search_and_respond'
/home/vcap/app/app/controllers.rb:  65:in `process_params'
/home/vcap/app/app/controllers.rb:  55:in `block (2 levels) in <top (required)>'
...

This is caused by a CF app instance not finding the eservice binding, which is a configuration issue. We need a more descriptive error here.

yozlet commented 8 years ago

Fixed in #305, test added in #312