Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Comments

Throw exception when parsing entity name contains invalid char#837

Merged
feich-ms merged 2 commits intomasterfrom
feich/OptimizeErrorMessageContent
Jun 5, 2020
Merged

Throw exception when parsing entity name contains invalid char#837
feich-ms merged 2 commits intomasterfrom
feich/OptimizeErrorMessageContent

Conversation

@feich-ms
Copy link
Contributor

@feich-ms feich-ms commented Jun 3, 2020

fix #794. Before the fix, entity name with invalid char [<, >, *, %, &, :, , $] will throw exception when calling luis api, in such situation, line number or file name will not be shown to users as the lu content is merged from multiple files. After the fix, lu parser will throw such exception when parsing instead of publishing and it will contains file name and line number.

@feich-ms feich-ms requested a review from munozemilio as a code owner June 3, 2020 12:33
@feich-ms feich-ms requested a review from boydc2014 June 3, 2020 12:34
@feich-ms feich-ms changed the title Throw exception when entity name contains invalid char when parsing Throw exception when parsing entity name contains invalid char Jun 3, 2020
@feich-ms feich-ms requested a review from vishwacsena June 4, 2020 08:48
@feich-ms feich-ms merged commit 2d78bb6 into master Jun 5, 2020
@feich-ms feich-ms deleted the feich/OptimizeErrorMessageContent branch June 5, 2020 03:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

luis:build error messages missing context

2 participants