Skip to content

Commit 1aa96db

Browse files
committed
there is a theoretical issue here
1 parent 24ac7a0 commit 1aa96db

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

vendor/gems/message_bus/lib/message_bus.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ def ensure_subscriber_thread
237237
locals = locals[msg.channel] if locals
238238

239239
multi_each(globals,locals, global_globals, local_globals) do |c|
240-
c.call msg
240+
begin
241+
c.call msg
242+
rescue => e
243+
MessageBus.logger.warn "failed to deliver message, skipping #{msg.inspect}\n ex: #{e} backtrace: #{e.backtrace}"
244+
end
241245
end
242246

243247
rescue => e

0 commit comments

Comments
 (0)