Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle "Unknown message" module:"botstack:fallback" #7

Open
cama opened this issue Mar 28, 2017 · 0 comments
Open

Handle "Unknown message" module:"botstack:fallback" #7

cama opened this issue Mar 28, 2017 · 0 comments

Comments

@cama
Copy link
Collaborator

cama commented Mar 28, 2017

Background...

fallback(message, senderID) {
log.debug("Unknown message", {
module: "botstack:fallback",
senderId: senderID,
message: message
});
//fb.reply(fb.textMessage("Ops, internal short circuit... Shutting
down... :("), senderID);* ----why does it happen that when this line is
active it loops constantly?*
};

This happens when Facebook sends messages that BotStackJS not yet able to handle correctly. Typically, this is a service message from facebook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant