slack_500 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/slack_500.rb +1 -1
- data/lib/slack_500/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: 89111399c2a825afce5db51b81cf41e49918519ec13a10c52868b7983280fee2
|
4
|
+
data.tar.gz: b5a06dd9c682bf8654ba5ef0e9e4f509ccf5ee4da253a5bcf30f7f68ff368372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d5e705136c220fb46431df410a02eef4d20bde4aa273a25179b9d9e688244528836d24ff6f3bff0e40cf297220571bc2269ab58ad86f37637838a9384ff98a
|
7
|
+
data.tar.gz: 52f644154d0262e48d8ec3a7976e4ef8c98e526903c4526b251137b4c36b11f5c54a70fac9dfb4ca3df6fad56acced28c71abfbff418b81400390acb3b77cd3a
|
data/README.md
CHANGED
data/lib/slack_500.rb
CHANGED
@@ -84,7 +84,7 @@ module Slack500
|
|
84
84
|
end
|
85
85
|
|
86
86
|
text += "#{bullet}*Body*\n#{body}\n\n" unless body.nil?
|
87
|
-
text += "#{bullet}
|
87
|
+
text += "#{bullet}*Backtrace*\n#{exception.backtrace.map {|s| "`#{s.gsub('`', '').gsub("'", '').gsub(Rails.root.to_s, '')}`"}.join("\n")}"
|
88
88
|
text = text.force_encoding('UTF-8')
|
89
89
|
default_params = {
|
90
90
|
pretext: self.pretext,
|
data/lib/slack_500/version.rb
CHANGED