Skip to content

raise Ignore() incorrectly causes task FAILURE. #2365

Closed

Description

@ses4j

Using raise Ignore() in a task causes job.py line 383 (https://github.com/celery/celery/blob/3.1/celery/worker/job.py#L383) to run on_failure and set task state, which should be IGNORED, to FAILURE. In turn, this causes Flower to show the job as FAILURE.

Activity

  1. added a commit that references this issue on Nov 11, 2014
    3e7bbb6
  2. ask commented on Nov 18, 2014

    @ask
    Contributor

    Thanks! Fixed in 3.1 branch, was already fixed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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