mettric 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: d76dbab9498e309d9cbceef170e6d5f6677f9728
4
- data.tar.gz: 9e373a5068b4d00e2e272eba10b9f92d36becfe3
3
+ metadata.gz: 41c233719f5671881896f6de5b3eb238cc0a5b0b
4
+ data.tar.gz: 47db5d7f82128a21c00e2d3db2dcfbac75edb42f
5
5
  SHA512:
6
- metadata.gz: 304c43ef459a0160fb4249b61540b449e6bade8bda5626267ca610f3894ff009fa4f6c12b2f151b322a58a4216cef7cab8c50f7f7df7d106c8a01e679666b23f
7
- data.tar.gz: ceb560d5c836833300ee731e8590e2a6ac07cc4e5f7b8e722c9baa4bb0f7caf3feae19204e3412197c927bfce22c7d5c68dd5db3c31544de54974e98fedda1cd
6
+ metadata.gz: de15a514621130bfe913d651637caefb698338021b3515569df7620f0f96320ebe60cda9da5d85c77418a48f273778e0697bc61d79c42096f8783cd5a16b4859
7
+ data.tar.gz: b91d7c2f89420d45ad30754c5ca2a0d96b4ef453c79cd1de49b0ac1e542f90d2b1c0f08d1e5784df03d32a08f27592e11a8af071abc0c8d655a05a92a1c60275
@@ -28,7 +28,8 @@ class Mettric::SidekiqMiddleware
28
28
  # Track success
29
29
  Mettric.event(service: "#{service}.success", tags: ['sidekiq'])
30
30
  end
31
-
31
+ rescue => e
32
+ raise unless e.is_a?(Mettric::Error)
32
33
  end
33
34
 
34
35
  if Kernel.const_defined?(:Sidekiq)
@@ -1,3 +1,3 @@
1
1
  class Mettric
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mettric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns