lib/fluent/plugin/out_solr.rb in fluent-plugin-output-solr-0.4.8 vs lib/fluent/plugin/out_solr.rb in fluent-plugin-output-solr-0.4.9

- old
+ new

@@ -170,11 +170,11 @@ elsif @mode == MODE_SOLRCLOUD then @solr.add documents, collection: @collection, :params => {:commit => @commit_with_flush} log.debug "Added #{documents.count} document(s) to Solr" end rescue Exception => e - log.warn "An error occurred while indexing: #{e.message}" + log.warn "An error occurred while indexing" end def get_unique_key response = nil @@ -188,11 +188,11 @@ log.debug "Unique key: #{unique_key}" return unique_key rescue Exception => e - log.warn "An error occurred while getting unique key: #{e.message}" + log.warn "An error occurred while getting unique key" end def get_fields response = nil @@ -209,9 +209,9 @@ log.debug "Fields: #{fields}" return fields rescue Exception => e - log.warn "An error occurred while getting fields: #{e.message}" + log.warn "An error occurred while getting fields" end end end