mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -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
|
||||
|
||||
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 a new issue