diff --git a/lib/fluent/plugin_helper/server.rb b/lib/fluent/plugin_helper/server.rb index 2a1435f339..035ffecf23 100644 --- a/lib/fluent/plugin_helper/server.rb +++ b/lib/fluent/plugin_helper/server.rb @@ -600,7 +600,7 @@ def on_read_without_connection(data) rescue => e @log.error "unexpected error on reading data", host: @callback_connection.remote_host, port: @callback_connection.remote_port, error: e @log.error_backtrace - close(true) rescue nil + close rescue nil raise if @under_plugin_development end @@ -609,7 +609,7 @@ def on_read_with_connection(data) rescue => e @log.error "unexpected error on reading data", host: @callback_connection.remote_host, port: @callback_connection.remote_port, error: e @log.error_backtrace - close(true) rescue nil + close rescue nil raise if @under_plugin_development end @@ -756,7 +756,7 @@ def on_read_without_connection(data) rescue => e @log.error "unexpected error on reading data", host: @callback_connection.remote_host, port: @callback_connection.remote_port, error: e @log.error_backtrace - close(true) rescue nil + close rescue nil raise if @under_plugin_development end @@ -765,7 +765,7 @@ def on_read_with_connection(data) rescue => e @log.error "unexpected error on reading data", host: @callback_connection.remote_host, port: @callback_connection.remote_port, error: e @log.error_backtrace - close(true) rescue nil + close rescue nil raise if @under_plugin_development end