lib/basquiat/adapters/rabbitmq/requeue_strategies/base_strategy.rb in basquiat-1.3.0.pre.1 vs lib/basquiat/adapters/rabbitmq/requeue_strategies/base_strategy.rb in basquiat-1.3.0

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true module Basquiat module Adapters class RabbitMq class BaseStrategy class << self @@ -15,10 +16,10 @@ def initialize(session) @session = session end def run(_message) - fail Basquiat::Errors::SubclassResponsibility + raise Basquiat::Errors::SubclassResponsibility end def ack(message) @session.channel.ack(message.delivery_tag) end