exception-track 0.3.1 → 0.4.0
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: 02aea7ddf454611b2daaa86dcebbd8b2350299aec54ebed5527480ac48756b04
|
4
|
+
data.tar.gz: 517e314cbbd311e37ab70744e3a979bc7b9c89bcf7f4de94be8abd9baedcb1e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b756a6a7268eee773d7cbf667eb71a3350c21e870be1c4aebe858fcee3aa70e7e8d18b3bd81876b1d46504f8868d083814496987108c7f98a6ace604b26d655
|
7
|
+
data.tar.gz: 487e5d4dbc297cb1da2e0cbc93ec8cad8aeb6010cd47dcad4463414beedf4b518ec2a03c78459908ef8ed1e41bd315bd478eba56161f616e113529b7e8293c18
|
@@ -9,7 +9,8 @@ module ExceptionNotifier
|
|
9
9
|
return unless ExceptionTrack.config.enabled_env?(Rails.env)
|
10
10
|
|
11
11
|
# send the notification
|
12
|
-
|
12
|
+
title = exception.message || "None"
|
13
|
+
|
13
14
|
messages = []
|
14
15
|
messages << headers_for_env(_options[:env])
|
15
16
|
messages << ""
|
@@ -21,7 +22,7 @@ module ExceptionNotifier
|
|
21
22
|
messages << exception.backtrace
|
22
23
|
end
|
23
24
|
|
24
|
-
ExceptionTrack::Log.create(title:
|
25
|
+
ExceptionTrack::Log.create(title: title[0, 200], body: messages.join("\n"))
|
25
26
|
end
|
26
27
|
|
27
28
|
# 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.
|
4
|
+
version: 0.4.0
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exception_notification
|