Sha256: b41f01b3280f1f540474c81f2d0213dafa959df3cb347a3f9fd7368de722f587
Contents?: true
Size: 355 Bytes
Versions: 5
Compression:
Stored size: 355 Bytes
Contents
module Eventboss module ErrorHandlers class NonExistentQueueHandler def call(exception, context = {}) if exception.class == ::Aws::SQS::Errors::NonExistentQueue queue = context.fetch(:poller_id, "").sub('poller-', '') Eventboss.logger.error("Queue doesn't exist: " + queue) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems