lib/chillout/dispatcher.rb in chillout-0.2.2 vs lib/chillout/dispatcher.rb in chillout-0.2.3

- old
+ new

@@ -1,7 +1,9 @@ module Chillout class Dispatcher + class SendCreationsFailed < StandardError + end def initialize(filter, server_side) @filter = filter @server_side = server_side end @@ -18,8 +20,9 @@ end def send_creations(creations) @server_side.send_creations(creations) rescue HttpClient::NotSent + raise SendCreationsFailed.new end end end