madvertise-logging 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -157,12 +157,12 @@ module Madvertise
157
157
  # @param [Exception] exc The exception to log.
158
158
  # @param [String] message Additional reason to log.
159
159
  def exception(exc, message = nil, attribs = {})
160
- fatal("exception", attribs.merge({
160
+ fatal("exception", {
161
161
  class: exc.class,
162
162
  reason: exc.message,
163
163
  message: message,
164
164
  backtrace: clean_trace(exc.backtrace)
165
- }))
165
+ }.merge(attribs))
166
166
  end
167
167
 
168
168
  # Log a realtime benchmark
@@ -1,6 +1,6 @@
1
1
  module Madvertise
2
2
  module Logging
3
3
  # @private
4
- VERSION = "0.9.3"
4
+ VERSION = "0.9.4"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madvertise-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
58
  version: '0'
59
59
  segments:
60
60
  - 0
61
- hash: -4344757976750083910
61
+ hash: 1370509839467996557
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  segments:
69
69
  - 0
70
- hash: -4344757976750083910
70
+ hash: 1370509839467996557
71
71
  requirements: []
72
72
  rubyforge_project:
73
73
  rubygems_version: 1.8.24