lib/rising_dragon/sqs/emitter.rb in rising_dragon-0.3.3 vs lib/rising_dragon/sqs/emitter.rb in rising_dragon-0.3.4

- old
+ new

@@ -35,10 +35,10 @@ @handlers.keys end def emit_event(event) handler = @handlers[event.type] - raise ::RisingDragon::UnRegisterEvent unless handler + raise ::RisingDragon::UnRegisterEvent, "event_type: `#{event.type}` is unregistered" unless handler handler.new.handle(event) nil end