Skip to content

capture_exceptions cannot be overridden by a child class #10

Description

@opensourceame
class A < Servitium::Service
  capture_exceptions true

end

class B < A
  capture_exceptions false

  def perform
    raise StandardError, "test"
  end
end

B.perform

In the above scenario I would expect the StandardError to be raised in B class, however instead the value of capture_exceptions in B.perform is true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions