lib/easy/jsonapi/exceptions/query_params_exceptions.rb in easy-jsonapi-1.0.4 vs lib/easy/jsonapi/exceptions/query_params_exceptions.rb in easy-jsonapi-1.0.5

- old
+ new

@@ -31,10 +31,10 @@ impl_spec_names.each do |name| check_param_name(name) end err_msg = JSONAPI::Exceptions::UserDefinedExceptions.check_user_query_param_requirements(rack_req_params, config_manager, opts) - return err_msg unless err_msg.nil? + raise err_msg unless err_msg.nil? nil end # Checks an implementation specific param name to see if it complies to the spec.