[New Relic error log](https://rpm.newrelic.com/accounts/1065766/applications/7790612/filterable_errors#/show/c5b584-592d21ab-c3b2-11e5-bb22-b82a72d2466d/stack_trace?top_facet=transactionUiName&primary_facet=error.class&_k=n4gixl). Error triggered by loading this URL on staging: https://ccapi-staging.18f.gov/v1/schools/stats?school.degrees_awarded.predominant=2,3&_fields=2013.student.size&_metrics=avg,std_deviation,std_deviation_bounds I _think_ it's because the `school.degrees_awarded.predominant` field doesn't exist - so why isn't ErrorChecker trapping it? Traceback: ``` NoMethodError: undefined method `each' for nil:NilClass /home/vcap/app/lib/data_magic.rb: 142: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: 51:in `block (2 levels) in <top (required)>' ```
New Relic error log. Error triggered by loading this URL on staging: https://ccapi-staging.18f.gov/v1/schools/stats?school.degrees_awarded.predominant=2,3&_fields=2013.student.size&_metrics=avg,std_deviation,std_deviation_bounds
I think it's because the
school.degrees_awarded.predominantfield doesn't exist - so why isn't ErrorChecker trapping it?Traceback: