lib/fluent/plugin/input_session.rb in fluent-plugin-secure-forward-0.2.6 vs lib/fluent/plugin/input_session.rb in fluent-plugin-secure-forward-0.3.0

- old
+ new

@@ -149,11 +149,11 @@ log.trace "accepting ssl session" begin @socket.accept rescue OpenSSL::SSL::SSLError => e - log.debug "failed to establish ssl session" + log.debug "failed to establish ssl session", error_class: e.class, error: e self.shutdown return end proto, port, host, ipaddr = @socket.io.peeraddr @@ -193,10 +193,10 @@ end end rescue Errno::ECONNRESET => e # disconnected from client rescue => e - log.warn "unexpected error in in_secure_forward", :error_class => e.class, :error => e + log.warn "unexpected error in in_secure_forward", error_class: e.class, error: e ensure self.shutdown end def shutdown