hatchet 0.2.13 → 0.2.14

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
- SHA1:
3
- metadata.gz: 7c34857bde264a8f867b6a54f98ddfe2762e0f82
4
- data.tar.gz: 232635ceac297928aa40abd8c9683f815ec53ed6
2
+ SHA256:
3
+ metadata.gz: '09292864e19a0e6f147ce3793861453e8729879cda6229a1aade0e713e20855a'
4
+ data.tar.gz: 56f416d619d79172172af1bc727a48b4d73c0c4e479977515d0366e1fd6dfd91
5
5
  SHA512:
6
- metadata.gz: d729e2fecf6c39b6eda76d19de0d14377e6b48bbc7646de04af7da68c14ad45745d51af5772ea58526135228f8007b8d23362e9aea3a8a5e9d510499cb504809
7
- data.tar.gz: 69a8e3cb6e0d32c4836d0634d5849b2c527a2c23f4763dc2d42f7893ac769cff94101c29bbb9ab44606c3d1016ea7f2068abfe84b50f192bf5e8866553ca4b53
6
+ metadata.gz: 721c0c7389da8d71f4a41a5f251124c752171e01f727258f7bb9d58369d2f31a058af0dd429103b5066afd6405aa55c2b1c330afb2c2509dd95aa88d696e1ed0
7
+ data.tar.gz: e8466b0daf2b940eefb13ef8df88eb13ad4a710c363dd06f4a3f4a0b2ec36ae80bee61486da67e10db53464dc02832cac23c07f728ece037bd44a6024b040868
@@ -64,6 +64,9 @@ module Hatchet
64
64
  #
65
65
  def add(level, context, message)
66
66
  @logger.send level, @formatter.format(level, context, message)
67
+ rescue => e
68
+ STDERR.puts "Failed to log message for #{context} with appender #{self} - #{level} - #{message}\n"
69
+ STDERR.puts "#{e}\n"
67
70
  end
68
71
 
69
72
  end
@@ -4,6 +4,6 @@ module Hatchet
4
4
 
5
5
  # Public: The version of Hatchet.
6
6
  #
7
- VERSION = '0.2.13'
7
+ VERSION = '0.2.14'
8
8
 
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hatchet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garry Shutler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-15 00:00:00.000000000 Z
11
+ date: 2019-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -88,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubyforge_project:
92
- rubygems_version: 2.4.7
91
+ rubygems_version: 3.0.6
93
92
  signing_key:
94
93
  specification_version: 4
95
94
  summary: Logging library that provides the ability to add class/module specific filters