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
|
||||
@client.add_message(m)
|
||||
status = @client.flush
|
||||
rescue Exception => e
|
||||
raise "Message bus error with email #{m.inspect}"
|
||||
end
|
||||
end
|
||||
status = @client.flush
|
||||
if status[:failureCount] && status[:failureCount] > 0
|
||||
raise "Messagebus failure. failureCount=#{failureCount}, message=#{message.inspect}"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue