less verbose about emails
This commit is contained in:
parent
eaca7b98fe
commit
0a909d6475
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ module Messagebus
|
||||||
@client.add_message(m)
|
@client.add_message(m)
|
||||||
status = @client.flush
|
status = @client.flush
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
raise "Message bus error with email #{m.inspect}"
|
raise "Message bus error with email #{e.message}: #{m[:toEmail]}, #{m[:fromName]}, #{m[:fromEmail]}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if status[:failureCount] && status[:failureCount] > 0
|
if status[:failureCount] && status[:failureCount] > 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue