logstash-plugins / logstash-input-jms

12 stars 27 forks source link

Handle MissingConverterException errors #39

Open robbavey opened 4 years ago

robbavey commented 4 years ago

With certain JMS providers, the JMS headers may include values that cannot be handled and added to an event, which currently throw either a MissingConverterException or an IllegalArgumentException. This commit attempts to handle these errors more gracefully by calling to_s and attempting to use the string representation rather than crash the plugin