{"action":"created","issue":{"url":"https://api.github.com/repos/caolan/async/issues/1607","repository_url":"https://api.github.com/repos/caolan/async","labels_url":"https://api.github.com/repos/caolan/async/issues/1607/labels{/name}","comments_url":"https://api.github.com/repos/caolan/async/issues/1607/comments","events_url":"https://api.github.com/repos/caolan/async/issues/1607/events","html_url":"https://github.com/caolan/async/issues/1607","id":387873427,"node_id":"MDU6SXNzdWUzODc4NzM0Mjc=","number":1607,"title":"How to catch javascript errors in async.waterfall ?","user":{"login":"souuu","id":17356470,"node_id":"MDQ6VXNlcjE3MzU2NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/17356470?v=4","gravatar_id":"","url":"https://api.github.com/users/souuu","html_url":"https://github.com/souuu","followers_url":"https://api.github.com/users/souuu/followers","following_url":"https://api.github.com/users/souuu/following{/other_user}","gists_url":"https://api.github.com/users/souuu/gists{/gist_id}","starred_url":"https://api.github.com/users/souuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souuu/subscriptions","organizations_url":"https://api.github.com/users/souuu/orgs","repos_url":"https://api.github.com/users/souuu/repos","events_url":"https://api.github.com/users/souuu/events{/privacy}","received_events_url":"https://api.github.com/users/souuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T17:50:04Z","updated_at":"2018-12-11T18:59:45Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI'm running a function that contains an async.waterfall.\r\nIs there a way to handle errors such as error parsing a JSON, reading a non existing attribute from an object ... without exiting the whole function.\r\nI can make many try catch in every function in the async.waterfall, but i'm searching for an easier solution.\r\nThank you."},"comment":{"url":"https://api.github.com/repos/caolan/async/issues/comments/446320066","html_url":"https://github.com/caolan/async/issues/1607#issuecomment-446320066","issue_url":"https://api.github.com/repos/caolan/async/issues/1607","id":446320066,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjMyMDA2Ng==","user":{"login":"applefreak","id":3266159,"node_id":"MDQ6VXNlcjMyNjYxNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/3266159?v=4","gravatar_id":"","url":"https://api.github.com/users/applefreak","html_url":"https://github.com/applefreak","followers_url":"https://api.github.com/users/applefreak/followers","following_url":"https://api.github.com/users/applefreak/following{/other_user}","gists_url":"https://api.github.com/users/applefreak/gists{/gist_id}","starred_url":"https://api.github.com/users/applefreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/applefreak/subscriptions","organizations_url":"https://api.github.com/users/applefreak/orgs","repos_url":"https://api.github.com/users/applefreak/repos","events_url":"https://api.github.com/users/applefreak/events{/privacy}","received_events_url":"https://api.github.com/users/applefreak/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T18:59:45Z","updated_at":"2018-12-11T18:59:45Z","author_association":"NONE","body":"On the part of not exiting the whole function take a look at [`reflect`](https://caolan.github.io/async/docs.html#reflect). But you still have to catch it manually in each tasks and call the callback function."}}
{"actor":{"display_login":"applefreak"}}