{"action":"closed","issue":{"url":"https://api.github.com/repos/reactor/reactor/issues/485","labels_url":"https://api.github.com/repos/reactor/reactor/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/reactor/reactor/issues/485/comments","events_url":"https://api.github.com/repos/reactor/reactor/issues/485/events","html_url":"https://github.com/reactor/reactor/issues/485","id":83998803,"number":485,"title":"Why onError callback is not fired?","user":{"login":"avarabyeu","id":1565439,"avatar_url":"https://avatars.githubusercontent.com/u/1565439?v=3","gravatar_id":"","url":"https://api.github.com/users/avarabyeu","html_url":"https://github.com/avarabyeu","followers_url":"https://api.github.com/users/avarabyeu/followers","following_url":"https://api.github.com/users/avarabyeu/following{/other_user}","gists_url":"https://api.github.com/users/avarabyeu/gists{/gist_id}","starred_url":"https://api.github.com/users/avarabyeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avarabyeu/subscriptions","organizations_url":"https://api.github.com/users/avarabyeu/orgs","repos_url":"https://api.github.com/users/avarabyeu/repos","events_url":"https://api.github.com/users/avarabyeu/events{/privacy}","received_events_url":"https://api.github.com/users/avarabyeu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/reactor/reactor/milestones/15","html_url":"https://github.com/reactor/reactor/milestones/2.0.4.RELEASE","labels_url":"https://api.github.com/repos/reactor/reactor/milestones/15/labels","id":1195935,"number":15,"title":"2.0.4.RELEASE","description":"","creator":{"login":"smaldini","id":76718,"avatar_url":"https://avatars.githubusercontent.com/u/76718?v=3","gravatar_id":"","url":"https://api.github.com/users/smaldini","html_url":"https://github.com/smaldini","followers_url":"https://api.github.com/users/smaldini/followers","following_url":"https://api.github.com/users/smaldini/following{/other_user}","gists_url":"https://api.github.com/users/smaldini/gists{/gist_id}","starred_url":"https://api.github.com/users/smaldini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smaldini/subscriptions","organizations_url":"https://api.github.com/users/smaldini/orgs","repos_url":"https://api.github.com/users/smaldini/repos","events_url":"https://api.github.com/users/smaldini/events{/privacy}","received_events_url":"https://api.github.com/users/smaldini/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2015-07-07T00:16:26Z","updated_at":"2015-07-07T00:23:10Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-02T12:24:09Z","updated_at":"2015-07-07T00:23:10Z","closed_at":"2015-07-07T00:23:10Z","body":"Hi all! Here is the code snippet:\r\n```java\r\n\t\tEnvironment environment = new Environment();\r\n\t\tEnvironment.assign(environment);\r\n\t\tPromises.task(environment, environment.getDefaultDispatcher(), () -> {\r\n\t\t\tthrow new RuntimeException(\"Some Exception\");\r\n\t\t}).onError(t -> System.out.println(\"ERROR!\")).onSuccess(s -> System.out.println(\"COMPLETED\" + s));\r\n\r\n\t\tenvironment.shutdown();\r\n```\r\nI was wondering why 'onError' callback is not fired when Promise's supplier throws error."}}