gray_logger 0.11.7 → 0.11.8
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.
- data/lib/gray_logger/rails_modules.rb +1 -1
- metadata +4 -4
@@ -13,7 +13,7 @@ module GrayLogger
|
|
13
13
|
# Overrides the rescue_action method in ActionController::Base, but does not inhibit
|
14
14
|
# any custom processing that is defined with Rails 2's exception helpers.
|
15
15
|
def rescue_action_with_gray_logger(exception)
|
16
|
-
gray_logger.log_exception(exception)
|
16
|
+
gray_logger.log_exception(exception) unless gray_logger.nil?
|
17
17
|
rescue_action_without_gray_logger(exception)
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gray_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 35
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 0.11.
|
9
|
+
- 8
|
10
|
+
version: 0.11.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Benjamin Behr
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-11-
|
18
|
+
date: 2012-11-22 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: gelf
|