activeerror 1.0.8 → 1.0.9
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: 483e4ebcb47660938fff5fd7b0658e1b4c5c0636ae86eacfdf201635ea393ffa
|
4
|
+
data.tar.gz: c41bb2ed8236571555bed77aae09fdc3e9c64333a758cae92c1455329a25515a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987f72bfa3bd6b58aa12e374cfebe39cbf0b544f3f0c78e664b9c19378534d89994c15dd56aa91bc0babee3f3488e13eaeecffda5c5d929ec82a882cb9c3ec4c
|
7
|
+
data.tar.gz: 7ab2431168f8aa8fc245310158949d6af4e41735c8d72cf2069300d31d31c776f1f6a07ee71324fd8b19c48f77c5e7e778dea3eb9b0c5a3ff14ed6858bdb625e
|
data/lib/active_error/railtie.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module ActiveError
|
4
4
|
class ErrorSubscriber
|
5
|
-
def report(exception, context:, **_opts)
|
6
|
-
return if Rails.env.local?
|
5
|
+
def report(exception, context:, handled:, **_opts)
|
6
|
+
return if Rails.env.local? || handled
|
7
7
|
|
8
8
|
Captor.new(exception:, request: context[:active_error_request]).capture
|
9
9
|
end
|
data/lib/active_error/version.rb
CHANGED