fluent-plugin-syslog-gobi-tls 2.1.23 → 2.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e555261450c80ef498e8ed6ff392fb8f1851402ef70efddc454b6bf27d4bf152
4
- data.tar.gz: 0bd6d64f840b0c04de78ffb0af28c28f3f61904ee77b9ebd25836a1948ed5690
3
+ metadata.gz: b325bd5542950ceeb1cd9ee31a67198d1c268451c8657941bfee70951ea1ffda
4
+ data.tar.gz: d17370cfd8e1c2ce3d470d875dc1b926d6313f639797fefd3d60172ef897f018
5
5
  SHA512:
6
- metadata.gz: c27b36e72be47500ed698f6d1709d71d4578610a927ccde3d6516de12893d9f807e1978a0f58e17c0f8519f68973e16be584bf75e9a8f735dbbe886baa76a9fd
7
- data.tar.gz: f175f03aeddf9bf654769bfecddcbb92d20c4c1aa4bf4f92ce4aacabcd15cbe7178fd4fba10cfa7c6ce61d92abd76e632277bc110f8ed21a1b497f14941585ef
6
+ metadata.gz: 3b9eed5633bddc000a834618ea8335325101151c47bb5ca4646f71aeaf9edf4726a62f080fd065b90e00d3cc233d897e957e3c6626667b0a7b4cc096860418f1
7
+ data.tar.gz: e940d6e37f835e579ce87432c0c031c4e757884cf33dced897d345386531f3d65fbe1793ee19c345b1131c6d2f1c9496f7b18a76ea04168d05da378e0a778917
@@ -19,7 +19,7 @@ require 'syslog_tls/version'
19
19
 
20
20
  Gem::Specification.new do |s|
21
21
  s.name = 'fluent-plugin-syslog-gobi-tls'
22
- s.version = '2.1.23'
22
+ s.version = '2.1.24'
23
23
  s.summary = %q{Fluent Syslog TLS output plugin}
24
24
  s.authors = ['thomas morgan']
25
25
  s.email = ['tm@iprog.com']
@@ -84,7 +84,7 @@ module SyslogTls
84
84
  tcp.setsockopt(Socket::SOL_SOCKET, Socket::Constants::SO_REUSEADDR, true)
85
85
  tcp.setsockopt(Socket::SOL_SOCKET, Socket::Constants::SO_REUSEPORT, true)
86
86
  tcp.connect_nonblock(sock_addr)
87
- rescue Errno::EINPROGRESS
87
+ rescue Errno::EINPROGRESS => e
88
88
  timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
89
89
  puts "[#{timestamp}] in get_tcp_connection EINPROGRESS exception during TCP connection:"
90
90
  puts "[#{timestamp}] Message: #{e.message}"
@@ -97,14 +97,14 @@ module SyslogTls
97
97
  timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
98
98
  puts "[#{timestamp}] in get_tcp_connection in EISCONN"
99
99
  # all good
100
- rescue SystemCallError
100
+ rescue SystemCallError => e
101
101
  timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
102
102
  puts "[#{timestamp}] in get_tcp_connection SystemCallError exception during TCP connection:"
103
103
  puts "[#{timestamp}] Message: #{e.message}"
104
104
  tcp.close rescue nil
105
105
  raise
106
106
  end
107
- rescue SystemCallError
107
+ rescue SystemCallError => e
108
108
  timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
109
109
  puts "[#{timestamp}] in get_tcp_connection SystemCallError outer exception during TCP connection:"
110
110
  puts "[#{timestamp}] Message: #{e.message}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog-gobi-tls
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.23
4
+ version: 2.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan