sentry-rails 5.22.2 → 5.22.4
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.
- checksums.yaml +4 -4
- data/lib/sentry/rails/error_subscriber.rb +1 -14
- data/lib/sentry/rails/version.rb +1 -1
- data/sentry-rails.gemspec +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a01e4b4cb8435e45c55ef49c7415b4e1145ad0e817895c908aed0dff99295da1
|
4
|
+
data.tar.gz: 3fdb25ef0d61554468bb0ab129ebbe22eee3507fcafede1111b81a664da0ce9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1789a356f8314aa26a78ce2d773bdd6f4da647b899a3e77b45dc1e9986291cc43ab96ee0ed69fd14c365c1512edf79f0bde5d2748c5650d24c8ff4015dd741bb
|
7
|
+
data.tar.gz: 3d610050d3dd67ddbadbd847d05ff31a5a52dbfbafd743761ad46bf06e5c0d5426cad238b1d79ac4e3b858ffed129edae114ef5ce110eba44256d0fa1d61ac23
|
@@ -27,20 +27,7 @@ module Sentry
|
|
27
27
|
hint.merge!(context.delete(:hint))
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
case error
|
33
|
-
when String
|
34
|
-
Sentry::Rails.capture_message(error, **options)
|
35
|
-
when Exception
|
36
|
-
Sentry::Rails.capture_exception(error, **options)
|
37
|
-
else
|
38
|
-
log_debug("Expected an Exception or a String, got: #{error.inspect}")
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
def log_debug(message)
|
43
|
-
Sentry.configuration.logger.debug(message)
|
30
|
+
Sentry::Rails.capture_exception(error, level: severity, contexts: { "rails.error" => context }, tags: tags, hint: hint)
|
44
31
|
end
|
45
32
|
end
|
46
33
|
end
|
data/lib/sentry/rails/version.rb
CHANGED
data/sentry-rails.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.22.
|
4
|
+
version: 5.22.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: railties
|
@@ -29,14 +29,14 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 5.22.
|
32
|
+
version: 5.22.4
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 5.22.
|
39
|
+
version: 5.22.4
|
40
40
|
description: A gem that provides Rails integration for the Sentry error logger
|
41
41
|
email: accounts@sentry.io
|
42
42
|
executables: []
|
@@ -84,15 +84,15 @@ files:
|
|
84
84
|
- lib/sentry/rails/tracing/active_support_subscriber.rb
|
85
85
|
- lib/sentry/rails/version.rb
|
86
86
|
- sentry-rails.gemspec
|
87
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/5.22.
|
87
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/5.22.4/sentry-rails
|
88
88
|
licenses:
|
89
89
|
- MIT
|
90
90
|
metadata:
|
91
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.
|
92
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.
|
93
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.
|
91
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.4/sentry-rails
|
92
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.4/sentry-rails
|
93
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.4/CHANGELOG.md
|
94
94
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
95
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-rails/5.22.
|
95
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-rails/5.22.4
|
96
96
|
rdoc_options: []
|
97
97
|
require_paths:
|
98
98
|
- lib
|