mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:41:31 +08:00
there is a theoretical issue here
This commit is contained in:
parent
24ac7a0e31
commit
1aa96db594
6
vendor/gems/message_bus/lib/message_bus.rb
vendored
6
vendor/gems/message_bus/lib/message_bus.rb
vendored
|
@ -237,7 +237,11 @@ module MessageBus::Implementation
|
|||
locals = locals[msg.channel] if locals
|
||||
|
||||
multi_each(globals,locals, global_globals, local_globals) do |c|
|
||||
c.call msg
|
||||
begin
|
||||
c.call msg
|
||||
rescue => e
|
||||
MessageBus.logger.warn "failed to deliver message, skipping #{msg.inspect}\n ex: #{e} backtrace: #{e.backtrace}"
|
||||
end
|
||||
end
|
||||
|
||||
rescue => e
|
||||
|
|
Loading…
Reference in New Issue
Block a user