Skip to content

Commit

Permalink
Merge pull request #283 from elfenars/fix_282
Browse files Browse the repository at this point in the history
Fix for issue #282
  • Loading branch information
smartinez87 committed Aug 20, 2015
2 parents 2fa2b71 + 11eb2b3 commit 3c28eb5
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 3c28eb5

Please sign in to comment.