{"action":"closed","issue":{"url":"https://api.github.com/repos/celery/celery/issues/2513","labels_url":"https://api.github.com/repos/celery/celery/issues/2513/labels{/name}","comments_url":"https://api.github.com/repos/celery/celery/issues/2513/comments","events_url":"https://api.github.com/repos/celery/celery/issues/2513/events","html_url":"https://github.com/celery/celery/issues/2513","id":58386128,"number":2513,"title":"Fail of last task from chain doesn't fail the chain","user":{"login":"auuron","id":1974216,"avatar_url":"https://avatars.githubusercontent.com/u/1974216?v=3","gravatar_id":"","url":"https://api.github.com/users/auuron","html_url":"https://github.com/auuron","followers_url":"https://api.github.com/users/auuron/followers","following_url":"https://api.github.com/users/auuron/following{/other_user}","gists_url":"https://api.github.com/users/auuron/gists{/gist_id}","starred_url":"https://api.github.com/users/auuron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auuron/subscriptions","organizations_url":"https://api.github.com/users/auuron/orgs","repos_url":"https://api.github.com/users/auuron/repos","events_url":"https://api.github.com/users/auuron/events{/privacy}","received_events_url":"https://api.github.com/users/auuron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-20T17:44:04Z","updated_at":"2015-02-24T19:55:56Z","closed_at":"2015-02-24T19:55:56Z","body":"Example:\r\ntasks = (\r\n    task1.si(*args, **kwargs),\r\n    task2.si(*args, **kwargs),\r\n    task3whichraiseserror.si(*args, **kwargs)\r\n)\r\nchain(*tasks).apply()\r\n\r\nResult: Error is raised in task3whichraiseserror, but doesn't propagate the error.\r\n\r\n\r\nExample 2:\r\ntasks = (\r\n    task1.si(*args, **kwargs),\r\n    task2.si(*args, **kwargs),\r\n    task3whichraiseserror.si(*args, **kwargs),\r\n    task4(*args, **kwargs)\r\n)\r\nchain(*tasks).apply()\r\n\r\nResult: Everything works fine (Error is propagated, last task is not run)\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}