wrap correct line in resque
This commit is contained in:
parent
90f990e8dd
commit
4e07d3199b
1 changed files with 1 additions and 1 deletions
|
|
@ -40,11 +40,11 @@ module Messagebus
|
||||||
|
|
||||||
begin
|
begin
|
||||||
@client.add_message(m)
|
@client.add_message(m)
|
||||||
|
status = @client.flush
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
raise "Message bus error with email #{m.inspect}"
|
raise "Message bus error with email #{m.inspect}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
status = @client.flush
|
|
||||||
if status[:failureCount] && status[:failureCount] > 0
|
if status[:failureCount] && status[:failureCount] > 0
|
||||||
raise "Messagebus failure. failureCount=#{failureCount}, message=#{message.inspect}"
|
raise "Messagebus failure. failureCount=#{failureCount}, message=#{message.inspect}"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue