Closed SamaritanMachine closed 4 years ago
Hi @SamaritanMachine, if you could run and debug the bot locally, you could set a breakpoint in the OnTurnError of your adapter where The bot encounted an error or bug.
is sent.
Then in the exception, you will find the stacktrace and real exception type that causes the error. They would provide more information to help you identify the difference between book dialog and weather dialog.
Thanks~
Hi @SamaritanMachine, if you could run and debug the bot locally, you could set a breakpoint in the OnTurnError of your adapter where The bot encounted an error or bug. is sent. Then in the exception, you will find the stacktrace and real exception type that causes the error. They would provide more information to help you identify the difference between book dialog and weather dialog. Thanks~
I didn't know we can debug BotFramework in real conversation enviroment. I'm really new in C# and Visual Studio :)
Thank you sir, it works like a charm now!
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
Latest version
Describe the bug
Briefly, when running the bookingDialog with missing parameters (entities), bot asks the missing parameter. However, when I run the weatherDialog with missing parameters conversation overs with error. Even when I look the LUIS trace in Bot Framework Emulator, intent and entity recognized successfully.
To Reproduce
I'm try to create a bot with multiple Luis intents, it means multiple dialogs naturally. I've installed the default CoreBot template (Downloaded from Azure). After setting intents and entities; created second dialog which name is 'WeatherDialog', created "WeatherDetails" which consists of getter and setter for my LUIS weather entities, implemented some of code for accessing to entities' results to partial class which is already in the project for BookingDialog.
Then in the MainDialog, I tried to AddDialog.
MainDialog:
And also my WeatherDialog:
Conversation with bug
A: How is the weather today? (missing entities) Bot: The bot encounted an error or bug. -> Failed Bot: To continue to run this bot, please fix the bot source code. A: How is the weather today at Los Angeles? Bot: -> Successful A: How is the weather at Los Angeles? (missing entity) Bot: The bot encounted an error or bug. -> Failed Bot: To continue to run this bot, please fix the bot source code. A: book me flight Bot: -> Successful (Asks missing entities) A: How is the weather tomorrow at Tokyo? Bot: -> Successful ............
[bug]