libhoney 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40d54151fc103bf8020f14ff8b7a9e6e0298366869e795ce3ddf0438af066e16
4
- data.tar.gz: c2b834d39609a73bce6e5e6e19caf4d2499903498895d32fe22b55041db7e59b
3
+ metadata.gz: 20e7e4496ff85fa667c3ddfe5d0c61361a645a7e4d6fc8465e04e16c3c07a4a1
4
+ data.tar.gz: bf9f628b1bd052a6dab3132c0b4626237eff10bf7334177c88478201c3d9a1d4
5
5
  SHA512:
6
- metadata.gz: 24d9d44cb0f1f5ad7549b75067dd6cbc2eb2264b8cad1c1c8cf523c19d955e41b91feb86d6cde74104885fc61ee4c4f5309b3ed46edfc5751483ba282d5e841e
7
- data.tar.gz: 1b1690d32daf8f44a19761d2ccc26a5a099d1daec623ecd481776f34ea439506278c267ff8b319c0ccb380ec497ca1de4b6e9c2a7eee677a1584d9d1cfe1ec87
6
+ metadata.gz: 37955fccffbbec485f391f738cb64829338404becd2507fd89c684377d3261f5b1deb010eaca8de160792cb32ff29d9ce637f731efc9f1c0d75067502641da37
7
+ data.tar.gz: 0a2fa105907286cc22af13af4dcd416a8c1effd4b7fafe591af2185db1f0a4bc34c39a41f188dd2024c283ef9ac848347c212c1631a7d645a37c603cce79919d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # libhoney-rb changelog
2
2
 
3
- ## changes pending release
3
+ ## 1.20.0
4
+
5
+ ### Fixes
6
+
7
+ - Handle Timeout::Error in TransmissionClient (#95) | [Adam Pohorecki](https://github.com/psyho)
4
8
 
5
9
  ## 1.19.0
6
10
 
data/CONTRIBUTORS CHANGED
@@ -10,3 +10,4 @@ Eben Freeman <eben@honeycomb.io>
10
10
  Ryan King <ryan@theryanking.com>
11
11
  Paul Sadauskas <psadauskas@gmail.com>
12
12
  Shane Becker <veganstraightedge@gmail.com>
13
+ Adam Pohorecki <adam@pohorecki.pl>
@@ -172,6 +172,9 @@ module Libhoney
172
172
  # 4. flushes the current batch
173
173
  # 5. ends the batch_loop
174
174
  break
175
+ rescue Timeout::Error
176
+ # Timeout::Error happens when there is nothing to pop from the batch_queue.
177
+ # We rescue it here to avoid spamming the logs with "execution expired" errors.
175
178
  rescue Exception => e
176
179
  warn "#{self.class.name}: 💥 " + e.message if %w[debug trace].include?(ENV['LOG_LEVEL'])
177
180
  warn e.backtrace.join("\n").to_s if ['trace'].include?(ENV['LOG_LEVEL'])
@@ -1,3 +1,3 @@
1
1
  module Libhoney
2
- VERSION = '1.19.0'.freeze
2
+ VERSION = '1.20.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libhoney
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Honeycomb.io Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-23 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bump