exception-track 0.3.0 → 0.3.1
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: 0cd50c7c395da0c15c9681c7e5f752db277a29daf791793fac5965255ecb98ab
|
4
|
+
data.tar.gz: 94eb9f1d0cb8eccf8c04afad81113c8d00d9c0df66c672db2d2029f86918a18d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38bc9bc789835bb75a966846198b05bd31ccc87503b2e6d00681b8c21a466d0fe5c7bb5e3455a991dc08d7b9deba0787bcfea20692e8a44983e4647d84518b6c
|
7
|
+
data.tar.gz: 2936a9154f94c04848a0deca667fa4f7a02b97176bf057e0c3b6e06e33cb7dcc8b9745679d80c6cf4b80fb7f88ea65a464c8837be9497a899393e2d75649a9e3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# 异常通知
|
4
4
|
module ExceptionNotifier
|
5
|
-
class ExceptionTrackNotifier
|
5
|
+
class ExceptionTrackNotifier < ExceptionNotifier::BaseNotifier
|
6
6
|
def initialize(_options); end
|
7
7
|
|
8
8
|
def call(exception, _options = {})
|
@@ -21,9 +21,7 @@ module ExceptionNotifier
|
|
21
21
|
messages << exception.backtrace
|
22
22
|
end
|
23
23
|
|
24
|
-
|
25
|
-
ExceptionTrack::Log.create(title: @title, body: messages.join("\n"))
|
26
|
-
end
|
24
|
+
ExceptionTrack::Log.create(title: @title, body: messages.join("\n"))
|
27
25
|
end
|
28
26
|
|
29
27
|
# Log Request headers from Rack env
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exception-track
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exception_notification
|