prowl-exception 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/prowl/rack.rb +3 -3
- data/prowl-exception.gemspec +2 -2
- metadata +2 -2
data/lib/prowl/rack.rb
CHANGED
@@ -13,7 +13,7 @@ module Rack
|
|
13
13
|
begin
|
14
14
|
body = @app.call(env)
|
15
15
|
rescue => boom
|
16
|
-
send_prowl_notification boom, env
|
16
|
+
send_prowl_notification boom, env unless ActiveRecord::RecordNotFound === boom
|
17
17
|
raise
|
18
18
|
end
|
19
19
|
|
@@ -21,9 +21,9 @@ module Rack
|
|
21
21
|
end
|
22
22
|
|
23
23
|
private
|
24
|
-
|
24
|
+
|
25
25
|
def send_prowl_notification exception, env
|
26
|
-
request = Rack::Request.new env
|
26
|
+
request = Rack::Request.new env
|
27
27
|
Prowler.notify exception.class.to_s, @template.result(binding)
|
28
28
|
end
|
29
29
|
|
data/prowl-exception.gemspec
CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.description = %w{ Send exception summary to prowl }
|
8
8
|
s.homepage = 'https://github.com/afhbl/prowl-exception'
|
9
9
|
|
10
|
-
s.version = '0.0.
|
11
|
-
s.date = '2012-08-
|
10
|
+
s.version = '0.0.5'
|
11
|
+
s.date = '2012-08-27'
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
|
14
14
|
s.require_paths = ['lib']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prowl-exception
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
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: 2012-08-
|
12
|
+
date: 2012-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prowler
|