logjam_agent 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/logjam_agent/buffered_logger.rb +4 -1
- data/lib/logjam_agent/version.rb +1 -1
- metadata +4 -4
@@ -60,7 +60,10 @@ module LogjamAgent
|
|
60
60
|
|
61
61
|
@@exception_classes = []
|
62
62
|
def self.auto_detect_exception(exception_class)
|
63
|
-
|
63
|
+
# but ignore Exception classes created with Class.new (timeout.rb, my old friend)
|
64
|
+
if (class_name = exception_class.to_s) =~ /^[\w:]+$/
|
65
|
+
@@exception_classes << class_name
|
66
|
+
end
|
64
67
|
end
|
65
68
|
|
66
69
|
@@exception_matcher = nil
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-24 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|