mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #880 from Hexastack/fix/bot-hangs-up-when-the-last-block-has-outcomes-with-no-matching-next-block
fix: end conversation when a block have no matching outcomes
This commit is contained in:
commit
bd024b3dec
@ -200,6 +200,7 @@ export class BotService {
|
||||
'Block outcome did not match any of the next blocks',
|
||||
convo,
|
||||
);
|
||||
this.eventEmitter.emit('hook:conversation:end', convo, false);
|
||||
}
|
||||
} else {
|
||||
// Conversation continues : Go forward to next blocks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user