claudiajs / claudia-bot-builder

Create chat bots for Facebook Messenger, Slack, Amazon Alexa, Skype, Telegram, Viber, Line, GroupMe, Kik and Twilio and deploy to AWS Lambda in minutes

Home Page:https://claudiajs.com/claudia-bot-builder.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support a debug mode

nbransby opened this issue · comments

where you catch exceptions and convert them to string and send them  as messages to user

save me doing:

module.exports = builder(message, apiRequest) => {
    try {
      //bot code here
    } catch(error) {
        return String(error);
    }
})

Hi,

we use issues on github only for bugs. everything else should go to the gitter channel. You're more than welcome to submit a PR if you like for this, but if you want to just ask for a new feature and chat about it, please do it on the chat.