simple_errors 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_errors/rescue.rb +5 -0
- data/lib/simple_errors/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e537ecf90c4e2b48a2aadf75457908430e44c928436e7c38e5e5707e1aa885
|
4
|
+
data.tar.gz: 19c424f0f9d0c6dd1bec09159ac2ad8a4f519efeac516a18ec9c0415f6b2b2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f86dc61d9218d622e43bf92f3f51ecdd17027afb01cdae46f1ad0af89447375f58a6839b52eec98ce05a5726a1bb0b4e731561ef4e786dae969acca7d9acd51
|
7
|
+
data.tar.gz: cb631b08f3d233fbe9088c62bd13fbde576086822531afccb842d150a60fed4eb3e7ad8088e3b1b98291da9fa8adc6f8de3416ebe923ddd39bbe61ca6d2eeae3
|
data/lib/simple_errors/rescue.rb
CHANGED
@@ -23,6 +23,11 @@ module SimpleErrors
|
|
23
23
|
Rollbar.error(e, rollbar_request_data, rollbar_person_data, :use_exception_level_filters => true)
|
24
24
|
end
|
25
25
|
|
26
|
+
# If Honeybadger is defined, send a message to it.
|
27
|
+
if defined?(Honeybadger)
|
28
|
+
Honeybadger.notify(e)
|
29
|
+
end
|
30
|
+
|
26
31
|
end
|
27
32
|
end
|
28
33
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Jones
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|