Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[Botskills] Show all language output when there's an issue with a LU file #3262

Merged

Conversation

dfavretto
Copy link
Contributor

Purpose

What is the context of this pull request? Why is it being done?
Fix the issue #3196

At the moment, when botskills processes multiple languages and an error occurs while parsing LU files it will stop processing any subsequent LU file, therefore no further error will be logged.

With these changes, when there is an issue while parsing multiple languages with Ludown it will show all the error messages if there are issues with more than one, instead of showing only the first error message.

image

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)

The exception throwing in executeLudownParse and executeDispatchAdd is changed to error loging.
After processing each language, if there was an error it will throw an exception.

Tests

Is this covered by existing tests or new ones? If no, why not?
-

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants