lib/bird_grinder/queue_processor.rb in birdgrinder-0.1.1 vs lib/bird_grinder/queue_processor.rb in birdgrinder-0.1.1.1

- old
+ new

@@ -36,10 +36,10 @@ logger.debug "Empty queue, scheduling check in #{@@polling_delay} seconds" schedule_check(@@polling_delay) else logger.debug "Got item, processing and scheduling next check" begin - handle_action Yajl::Parser.parse(res) + process_action Yajl::Parser.parse(res) rescue Yajl::ParseError => e logger.error "Couldn't parse json: #{e.message}" end schedule_check end \ No newline at end of file