Skip to content

Class errors during autoload swallowed #54

@dmvt

Description

@dmvt

Because of the autoload functionality, errors in classes get swallowed causing the worker to hang and the message to sit unacked.

reproduce as such:

# app/services/bad_apple.rb
class BadApple
  def incomplete_method_def
    {
  end
end
#app/consumers/sample_consumer.rb
class SampleConsumer
  include Emque::Consuming.consumer

  def message_handler(message)
    BadApple.new
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions