Ignore failed search query (can happen if user hasn't entered query completly).

This commit is contained in:
Martin Edenhofer 2014-02-03 20:40:42 +01:00
parent e5c35021ac
commit e11d9cada5

View file

@ -166,7 +166,8 @@ return search result
puts "# #{response.status.to_s}"
data = JSON.parse( response.body )
if !response.success?
raise data.inspect
return []
# raise data.inspect
end
ids = []