zumobi 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zumobi/exception_handler.rb +8 -0
- data/lib/zumobi/version.rb +1 -1
- metadata +3 -3
@@ -46,6 +46,14 @@ class ExceptionHandler
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
def self.message(message)
|
50
|
+
Rails.logger.info(message)
|
51
|
+
Airbrake.notify(nil, {
|
52
|
+
:error_message => message,
|
53
|
+
:session => {"IP Address" => "#{ExceptionHandler.ip_address}"}
|
54
|
+
})
|
55
|
+
end
|
56
|
+
|
49
57
|
end
|
50
58
|
|
51
59
|
end
|
data/lib/zumobi/version.rb
CHANGED
metadata
CHANGED