madvertise-logging 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,12 +8,10 @@ module Madvertise
|
|
8
8
|
# @param [Exception] exc The exception to log.
|
9
9
|
# @param [String] message Additional reason to log.
|
10
10
|
def exception(exc, message = nil, attribs = {})
|
11
|
-
Airbrake.notify_or_ignore(exc,
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
backtrace: clean_trace(exc.backtrace)
|
16
|
-
}))
|
11
|
+
Airbrake.notify_or_ignore(exc, {
|
12
|
+
:error_message => message,
|
13
|
+
:cgi_data => ENV.to_hash,
|
14
|
+
}.merge(attribs))
|
17
15
|
end
|
18
16
|
end
|
19
17
|
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.
|
4
|
+
version: 0.9.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Advanced logging classes with buffer backend, transactions, multi logger,
|
15
15
|
etc
|
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
segments:
|
60
60
|
- 0
|
61
|
-
hash:
|
61
|
+
hash: 3837556437676324722
|
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:
|
70
|
+
hash: 3837556437676324722
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
73
|
rubygems_version: 1.8.24
|