lib/fluent/plugin/out_honeycomb.rb in fluent-plugin-honeycomb-0.8.0 vs lib/fluent/plugin/out_honeycomb.rb in fluent-plugin-honeycomb-0.8.1

- old
+ new

@@ -136,10 +136,10 @@ # Force retry by returning the entire batch return batch end begin - results = JSON.parse(resp.body) + results = JSON.parse(resp.body.to_s) rescue JSON::ParserError => e log.warn "Error parsing response as JSON: #{e}" raise e end successes = 0