epsagon 0.0.25 → 0.0.26

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: e4dd6a90b916b237e688e45551af0324cebf6dc8288c5be00c2c360604748aa7
4
- data.tar.gz: e70b552116e3a68515e6363352527ba0e1a438a1b8f26d9882358c61e7f2f5f7
3
+ metadata.gz: 8c6a213fb12b5ded33f1d938b306f56f6de61936197c10be80d53b11258483c1
4
+ data.tar.gz: 34890a4a25d8bf528dc442b975504d1e70b177a09a7868b56538a9b6b112f3d0
5
5
  SHA512:
6
- metadata.gz: '048ca5df1c956861b25634b497ceb8b1e6bcb45ff171a14e4c61bb1d1ea8731b5cf87237a158debe2ff146b81ba72445c1050bab2ba875596624cef82b1feec1'
7
- data.tar.gz: 7474c11f77a5f24da6a23e7c825e1f4cf1e2ef0111cabd0ece1c68322a3e5cc8345e499618796f41de6484b2cdfb98c95abc7d1eeca3c13b2abb7a63d00a60b3
6
+ metadata.gz: b0ba4c84e5db6f25b6f68c7c31cbd8c694098ac8542c893735955328a18b58f5b49b436dab779dcac6759f246394c8152e0c3ef8791e4169a4abcf2f73e831e0
7
+ data.tar.gz: 95f6e44d44be2917c1a6cb9b224c838a1b46aa0866fe991c5aa8e0ebf6cbd9703f71ede6d871c7eaebbd499d391c19bd8d887ee25a637c581628362e2fa7442d
data/lib/epsagon.rb CHANGED
@@ -109,7 +109,6 @@ module SpanExtension
109
109
  end
110
110
 
111
111
  module SidekiqClientMiddlewareExtension
112
-
113
112
  def call(_worker_class, job, _queue, _redis_pool)
114
113
  config = OpenTelemetry::Instrumentation::Sidekiq::Instrumentation.instance.config[:epsagon] || {}
115
114
  attributes = {
@@ -140,6 +139,7 @@ end
140
139
 
141
140
  module SidekiqServerMiddlewareExtension
142
141
  def call(_worker, msg, _queue)
142
+ inner_exception = nil
143
143
  config = OpenTelemetry::Instrumentation::Sidekiq::Instrumentation.instance.config[:epsagon] || {}
144
144
  parent_context = OpenTelemetry.propagation.text.extract(msg)
145
145
  attributes = {
@@ -175,7 +175,10 @@ module SidekiqServerMiddlewareExtension
175
175
  ) do |runner_span|
176
176
  yield
177
177
  end
178
+ rescue Exception => e
179
+ inner_exception = e
178
180
  end
181
+ raise inner_exception if inner_exception
179
182
  end
180
183
  end
181
184
 
@@ -1,3 +1,3 @@
1
1
  module EpsagonConstants
2
- VERSION = '0.0.25'
2
+ VERSION = '0.0.26'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epsagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Epsagon