11170: Set up a thread to reap the status of squeue runs so that they don't become...
[arvados.git] / services / api / lib / record_filters.rb
index 350c3802fc60e606fd0dba703429ca7dc98f847e..caf62c721f4854fb30d468c327623acc2f50de56 100644 (file)
@@ -126,6 +126,8 @@ module RecordFilters
             end
           end
           cond_out << cond.join(' OR ')
+        else
+          raise ArgumentError.new("Invalid operator '#{operator}'")
         end
       end
       conds_out << cond_out.join(' OR ') if cond_out.any?