botpress / studio

The studio is the main interface you'll use to build and edit your chatbot.
https://botpress.com/docs/quickstart#conversation-studio
38 stars 38 forks source link

fix(nlu): correctly display error if training fails before it starts #258

Closed franklevasseur closed 2 years ago

franklevasseur commented 2 years ago

If you try training a chatbot that has an intent with no utterances, it crashes the studio.

This regression was introduced by me here: https://github.com/botpress/studio/pull/255

This PR fixes it, and make sure the error is displayed in the UI