Skip to content

Commit

Permalink
fixes issue #282
Browse files Browse the repository at this point in the history
  • Loading branch information
Feña Agar committed Aug 20, 2015
1 parent b4149bf commit 11eb2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exception_notifier/slack_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def deep_reject(hash, block)
deep_reject(data, @ignore_data_if) if @ignore_data_if.is_a?(Proc)
text = data.map{|k,v| "#{k}: #{v}"}.join(', ')

if text.present?
unless text.nil? || text.empty?
text = ['*Data:*', text].join("\n")
[message, text].join("\n")
else
Expand Down

0 comments on commit 11eb2b3

Please sign in to comment.