We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4149bf commit 11eb2b3Copy full SHA for 11eb2b3
lib/exception_notifier/slack_notifier.rb
@@ -48,7 +48,7 @@ def deep_reject(hash, block)
48
deep_reject(data, @ignore_data_if) if @ignore_data_if.is_a?(Proc)
49
text = data.map{|k,v| "#{k}: #{v}"}.join(', ')
50
51
- if text.present?
+ unless text.nil? || text.empty?
52
text = ['*Data:*', text].join("\n")
53
[message, text].join("\n")
54
else
0 commit comments