{"action":"created","issue":{"url":"https://api.github.com/repos/atomist/rug/issues/536","repository_url":"https://api.github.com/repos/atomist/rug","labels_url":"https://api.github.com/repos/atomist/rug/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/atomist/rug/issues/536/comments","events_url":"https://api.github.com/repos/atomist/rug/issues/536/events","html_url":"https://github.com/atomist/rug/issues/536","id":223193606,"number":536,"title":"Exceptions in Rugs invoked from Plans should trigger onError handlers","user":{"login":"jessitron","id":1149737,"avatar_url":"https://avatars1.githubusercontent.com/u/1149737?v=3","gravatar_id":"","url":"https://api.github.com/users/jessitron","html_url":"https://github.com/jessitron","followers_url":"https://api.github.com/users/jessitron/followers","following_url":"https://api.github.com/users/jessitron/following{/other_user}","gists_url":"https://api.github.com/users/jessitron/gists{/gist_id}","starred_url":"https://api.github.com/users/jessitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessitron/subscriptions","organizations_url":"https://api.github.com/users/jessitron/orgs","repos_url":"https://api.github.com/users/jessitron/repos","events_url":"https://api.github.com/users/jessitron/events{/privacy}","received_events_url":"https://api.github.com/users/jessitron/received_events","type":"User","site_admin":false},"labels":[{"id":487873778,"url":"https://api.github.com/repos/atomist/rug/labels/bug","name":"bug","color":"e99695","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-20T20:42:06Z","updated_at":"2017-04-25T12:10:52Z","closed_at":"2017-04-25T12:10:52Z","body":"As a user, when I write a handler, and I return an instruction, and I specify both onError and onSuccess, I expect one of them to be called every time.\r\n\r\nHowever, onError is only called for certain expected classes of errors. This totally surprised me.\r\nI was goin' along, something's failing, I can see an error when I run the command in the CLI with -X, but I want to get a message about it so I can investigate better\r\nI add onError handling\r\n\r\nThat never triggers.\r\n\r\nSo I was confused, and now I am more confused.\r\n\r\nExamples of errors where the command handler silently stops: \r\n- whitelist doesn't match in http\r\n- rug function not found"},"comment":{"url":"https://api.github.com/repos/atomist/rug/issues/comments/297010300","html_url":"https://github.com/atomist/rug/issues/536#issuecomment-297010300","issue_url":"https://api.github.com/repos/atomist/rug/issues/536","id":297010300,"user":{"login":"kipz","id":1865026,"avatar_url":"https://avatars1.githubusercontent.com/u/1865026?v=3","gravatar_id":"","url":"https://api.github.com/users/kipz","html_url":"https://github.com/kipz","followers_url":"https://api.github.com/users/kipz/followers","following_url":"https://api.github.com/users/kipz/following{/other_user}","gists_url":"https://api.github.com/users/kipz/gists{/gist_id}","starred_url":"https://api.github.com/users/kipz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kipz/subscriptions","organizations_url":"https://api.github.com/users/kipz/orgs","repos_url":"https://api.github.com/users/kipz/repos","events_url":"https://api.github.com/users/kipz/events{/privacy}","received_events_url":"https://api.github.com/users/kipz/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T12:10:51Z","updated_at":"2017-04-25T12:10:51Z","body":"Fixed in master."}}
{"actor":{"display_login":"kipz"}}