{"action":"created","issue":{"url":"https://api.github.com/repos/howdyai/botkit/issues/997","repository_url":"https://api.github.com/repos/howdyai/botkit","labels_url":"https://api.github.com/repos/howdyai/botkit/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/howdyai/botkit/issues/997/comments","events_url":"https://api.github.com/repos/howdyai/botkit/issues/997/events","html_url":"https://github.com/howdyai/botkit/issues/997","id":255559411,"node_id":"MDU6SXNzdWUyNTU1NTk0MTE=","number":997,"title":"Conversation Errror managment ?","user":{"login":"adrienbarreau","id":5724782,"node_id":"MDQ6VXNlcjU3MjQ3ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/5724782?v=4","gravatar_id":"","url":"https://api.github.com/users/adrienbarreau","html_url":"https://github.com/adrienbarreau","followers_url":"https://api.github.com/users/adrienbarreau/followers","following_url":"https://api.github.com/users/adrienbarreau/following{/other_user}","gists_url":"https://api.github.com/users/adrienbarreau/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienbarreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienbarreau/subscriptions","organizations_url":"https://api.github.com/users/adrienbarreau/orgs","repos_url":"https://api.github.com/users/adrienbarreau/repos","events_url":"https://api.github.com/users/adrienbarreau/events{/privacy}","received_events_url":"https://api.github.com/users/adrienbarreau/received_events","type":"User","site_admin":false},"labels":[{"id":298557847,"node_id":"MDU6TGFiZWwyOTg1NTc4NDc=","url":"https://api.github.com/repos/howdyai/botkit/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-06T10:42:40Z","updated_at":"2018-10-22T21:06:48Z","closed_at":null,"author_association":"NONE","body":"`\r\nbot.replyWithTyping(message, m, (err) => {\r\n    console.log(err);\r\n});\r\n`\r\n\r\nWhen I use `reply` or `replyWithTyping` I can catch error with the callback function. \r\nWith Facebook, **API ERROR** are only displayed in debug mode so I can catch them with the callback and act according to the error. \r\n\r\nBut when I use `convo.say(message)` into `bot.startConversation` I can't catch error like **API ERROR**. Thy are displayed in the console in debug mode only. Is there any way to catch this kind of error into a conversation ?"},"comment":{"url":"https://api.github.com/repos/howdyai/botkit/issues/comments/431986499","html_url":"https://github.com/howdyai/botkit/issues/997#issuecomment-431986499","issue_url":"https://api.github.com/repos/howdyai/botkit/issues/997","id":431986499,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTk4NjQ5OQ==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-22T21:06:48Z","updated_at":"2018-10-22T21:06:48Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}