module Wisper module Publisher def broadcast(event, *args) registrations.each do | registration | begin registration.broadcast(clean_event(event), self, *args) rescue => e puts "Error: #{registration.class} #{event} #{e.message}" end end self end end end