action_reporter 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/action_reporter.gemspec +1 -1
- data/lib/action_reporter/scout_apm_reporter.rb +4 -3
- data/lib/action_reporter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de9e1d1bcb3e0d357840b7067b944679d1cfa9833e1cfc9fdbabe035edd1f44a
|
4
|
+
data.tar.gz: 7a46f2699a6a7ef43dc9a9f90f638c95d289786009b688e4714c6b615d6a8743
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06f86134a8c2499ee2c282189984a9ae8ede582dcae5d03db9cdcba656ef4540283089f3dd7cf1b54c7a4910d28b35ce5a876ba012cfc8fd1e52ae27bc43cd9
|
7
|
+
data.tar.gz: 243a13b9eae0f41dab7bd49d0fad1c1538eea0b08d8d6f833daa90cbc2943ee73806012d4108e4100574508157f763fa30fc51cd9c7efeb545b308865ae6b1ad
|
data/CHANGELOG.md
CHANGED
data/action_reporter.gemspec
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
module ActionReporter
|
2
2
|
class ScoutApmReporter < Base
|
3
|
-
class_accessor "ScoutApm::
|
3
|
+
class_accessor "ScoutApm::Error"
|
4
4
|
class_accessor "ScoutApm::Context"
|
5
5
|
|
6
|
-
def notify(
|
7
|
-
|
6
|
+
def notify(error, context: {})
|
7
|
+
self.context(context)
|
8
|
+
ScoutApmError.capture(error)
|
8
9
|
end
|
9
10
|
|
10
11
|
def context(args)
|