mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
there is a theoretical issue here
This commit is contained in:
parent
24ac7a0e31
commit
1aa96db594
1 changed files with 5 additions and 1 deletions
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
|
locals = locals[msg.channel] if locals
|
||||||
|
|
||||||
multi_each(globals,locals, global_globals, local_globals) do |c|
|
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
|
end
|
||||||
|
|
||||||
rescue => e
|
rescue => e
|
||||||
|
|
Loading…
Reference in a new issue