Sha256: 4e6e9d2af457d2999765964f3a2e5f5c11871be86b65ce9b511ff9fb8232bc51

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

begin
  require 'errplane'
rescue LoadError
  raise "Can't find 'errplane' gem. Please add it to your Gemfile or install it."
end

module Resque
  module Failure
    class Errplane < Base
      def save
        ::Errplane.transmit_unless_ignorable(exception, :custom_data => {
          :resque => {
            :payload => payload,
            :worker => worker,
            :queue => queue
          }
        })
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
errplane-0.2.0 lib/errplane/resque.rb