Sha256: bf44a94d91b53c9198fe4b2d6611de998f9cf7cfb3b93603d6f9f35a21b411fd

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# This is an example worker that raises an error.
class Error < Refinery::Worker
  # Execute the work once.
  def execute(message)
    logger.info "received message: #{message.inspect}"
    raise RuntimeError, "processing failure example"
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
aeden-refinery-0.9.1 workers/error.rb
refinery-0.9.0 workers/error.rb