slack_log_device 5.1.0 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/slack_log_device/formatter.rb +2 -2
- 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: cc52c5185f21ce0623dd8961d9ac1d30f2ed29c83104f837e4ae364220bd1641
|
4
|
+
data.tar.gz: ced863d29c0bb032f918be72844264c126a8e8aa3a1aff76fc0f978afbd20bfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b0c6e4f33378ab0da9b309c0b83b1c09e83c3785772e3c965a745019b3e35929c0645f9ca1837af5d84194e42416abb2044e8483550b577f79fffc1c4278a7
|
7
|
+
data.tar.gz: 99c4723464383950a79b54999966eefbf98ba0763ec0b99e7c5b382bb1be9a31b76b2efe420b45d29006dbff7a0d940ae2aa8bb66d189fbbd9611d4c493459ac
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.1.
|
1
|
+
5.1.1
|
@@ -95,9 +95,9 @@ class SlackLogDevice
|
|
95
95
|
def append_exception_cause(text, exception)
|
96
96
|
cause = exception.cause
|
97
97
|
return text if cause.nil?
|
98
|
-
message = "\n\nCaused by `#{
|
98
|
+
message = "\n\nCaused by `#{cause.class}`"
|
99
99
|
return text if (text + message).size > MAX_MESSAGE_LENGTH
|
100
|
-
text = truncate("#{text}#{message}: #{
|
100
|
+
text = truncate("#{text}#{message}: #{cause.message}")
|
101
101
|
text = append_exception_backtrace(text, cause)
|
102
102
|
append_exception_cause(text, cause)
|
103
103
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack_log_device
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Toulotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|