examples/worker.rb in grenache-ruby-http-0.2.2 vs examples/worker.rb in grenache-ruby-http-0.2.3

- old
+ new

@@ -10,9 +10,10 @@ Signal.trap("TERM") { EventMachine.stop } c = Grenache::Http.new c.listen('rpc_test', 5004) do |msg| - [StandardError.new("Error!"),"hello #{msg.payload}"] + #[StandardError.new("Error!"),"hello #{msg.payload}"] + [nil, "hello #{msg.payload}"] end end