recognizer 0.1.1 → 0.1.2

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.
@@ -28,7 +28,11 @@ module Recognizer
28
28
  unless librato.empty?
29
29
  logger.info("Attempting to flush metrics to Librato")
30
30
  mutex.synchronize do
31
- librato.submit
31
+ begin
32
+ librato.submit
33
+ rescue => error
34
+ logger.error("Encountered an error when flushing metrics to Librato: " + error.to_s)
35
+ end
32
36
  end
33
37
  logger.info("Successfully flushed metrics to Librato")
34
38
  end
@@ -1,3 +1,3 @@
1
1
  module Recognizer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recognizer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Porter
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-10 00:00:00 -08:00
18
+ date: 2012-03-21 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency