tlrx/transport-zeromq — Issue #1: Improved error handling
Author: clintongormley
Created: 2011-11-06 17:36:19+00:00
State: open

Hi Tanguy

If I send a bad message to your zeromq listener, I get:

Exception in thread "elasticsearch[Gamora]zeromq_worker_1-pool-16-thread-1" java.lang.ArrayIndexOutOfBoundsException: 1
at org.elasticsearch.zeromq.ZMQRestRequest.parse(ZMQRestRequest.java:63)
at org.elasticsearch.zeromq.ZMQRestRequest.(ZMQRestRequest.java:36)
at org.elasticsearch.zeromq.ZMQSocket.run(ZMQSocket.java:71)
at java.lang.Thread.run(Thread.java:662)

This message could be improved :)

clint