lib/realogy/tasks/realogy.rake in realogy-0.6.7 vs lib/realogy/tasks/realogy.rake in realogy-0.6.8
- old
+ new
@@ -100,10 +100,10 @@
when "Delete"
klass.find_by(entity_id: hash["id"]).try(:destroy)
when "Upsert"
hash["class"] = klass.to_s
active_job_configured? ? PopulateRealogyEntityJob.perform_later(hash) : klass::triage(hash)
- end rescue nil
+ end
end
end
desc "Delta update for Agents. Optionally provide delta in minutes."
task :sync_agents_delta, [:since_minutes] => [:environment] do |t, args|