snitch_reporting 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca3d8591d21ac20134ebd44f75d3ec482cebbe2eefd5a1429d78669ebb535cd5
|
4
|
+
data.tar.gz: 370bfe6cb40196f331f24aa6dbd67a2b0455d9fc3e03a51501c84e337097f5a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7489b6381958b0b219ec1263fdef97a7f65fd3fc97a6479f1a8d29ee1053d6f8368720fb74979e96a94f516d4b9f46f9344063e07f8bb3ae88a6edf683485812
|
7
|
+
data.tar.gz: 45aaacad3ea9e6f65eaf0b9d1e997b092416f9b13e472cdeb989db87f6f1e111a2aae056e8f419e669371f9c8eeaf05c9ea767e2a722a88577b2c6fbd29eeaba
|
@@ -86,9 +86,9 @@ class SnitchReporting::SnitchReport < ApplicationRecord
|
|
86
86
|
return SnitchReporting::SnitchReport.error("Failed to save occurrence.", occurrence.errors.full_messages) unless occurrence.persisted?
|
87
87
|
occurrence
|
88
88
|
rescue StandardError => ex
|
89
|
-
env ||= {}
|
90
|
-
|
91
|
-
SnitchReporting::SnitchReport.fatal("Failed to create report. (#{ex.class})"
|
89
|
+
# env ||= {}
|
90
|
+
# SnitchReporting::SnitchReport.fatal("Failed to create report. (#{ex.class})", env.to_s, ex.to_s)
|
91
|
+
SnitchReporting::SnitchReport.fatal("Failed to create report. (#{ex.class})")
|
92
92
|
end
|
93
93
|
|
94
94
|
def format_args(args)
|
@@ -17,8 +17,7 @@ class SnitchReporting::Rack
|
|
17
17
|
_, headers, = response
|
18
18
|
|
19
19
|
# if headers["X-Cascade"] == "pass"
|
20
|
-
# msg = "This exception means that the preceding Rack middleware set the 'X-Cascade' header to 'pass' -- in "
|
21
|
-
# "Rails, this often means that the route was not found (404 error)."
|
20
|
+
# msg = "This exception means that the preceding Rack middleware set the 'X-Cascade' header to 'pass' -- in Rails, this often means that the route was not found (404 error)."
|
22
21
|
# raise SnitchException, msg
|
23
22
|
# end
|
24
23
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snitch_reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rocco Nicholls
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -132,8 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
|
136
|
-
rubygems_version: 2.7.3
|
135
|
+
rubygems_version: 3.1.2
|
137
136
|
signing_key:
|
138
137
|
specification_version: 4
|
139
138
|
summary: Adds a localized error reporting/tracking system.
|