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

Throw error if no connection to luis endpoint #1303

Merged
merged 2 commits into from
Oct 1, 2021

Conversation

cosmicshuai
Copy link
Contributor

closes #1277
As mentioned in the issue. If there is no connection to luis endpoint. The error message contains nothing.
In this PR, if the ENOTFOUND error occurred. It will throw the correct error message.

[WARN] line 50:0 - line 50:7: no utterances found for intent definition: "# None"
Handling applications...
Luis build failed: getaddrinfo ENOTFOUND westus.api.cognitive.microsoft.com

@munozemilio munozemilio merged commit edcf63e into main Oct 1, 2021
@munozemilio munozemilio deleted the shuwan/fixMissingErrorMsg branch October 1, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need to parse error from bf luis command
2 participants