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: 2b5c7af8686be4792dcdc94ea552066bdecc1b4ba8aa014953cf795c223cda60
4
- data.tar.gz: 56be676ea886fb6d6b585b4c3be72a8c036aead153fa9c795664ab4a1a708621
3
+ metadata.gz: 0cd50c7c395da0c15c9681c7e5f752db277a29daf791793fac5965255ecb98ab
4
+ data.tar.gz: 94eb9f1d0cb8eccf8c04afad81113c8d00d9c0df66c672db2d2029f86918a18d
5
5
  SHA512:
6
- metadata.gz: 42650b9bec639542c1261d817d25025b052f2e98ba5921112ea3a94c5752bcecf990db6f3078a85e981d45d38b19f27a379f9f210b20a175874bb7cdc11d2649
7
- data.tar.gz: b2f5f412eb1395b7d6a5a63aaf5aa53d1fdff04256239e987bd6beb7f20ed99b45fdbd9242e76cdd27f4947b8ed98344b53cab98f294a4c956425503e31d114c
6
+ metadata.gz: 38bc9bc789835bb75a966846198b05bd31ccc87503b2e6d00681b8c21a466d0fe5c7bb5e3455a991dc08d7b9deba0787bcfea20692e8a44983e4647d84518b6c
7
+ data.tar.gz: 2936a9154f94c04848a0deca667fa4f7a02b97176bf057e0c3b6e06e33cb7dcc8b9745679d80c6cf4b80fb7f88ea65a464c8837be9497a899393e2d75649a9e3
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExceptionTrack
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -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
- Rails.logger.silence do
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exception_notification