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

Handle removing unregistered intents #2235

Merged
merged 1 commit into from Jul 31, 2019

Conversation

forslund
Copy link
Collaborator

Description

This small change adds a check that the intent has been registered
before removing it.

If an unregistered intent was removed padatious would silently throw an
exception due to a list operation error. But when run synchronously from
the skill tester this silent exception was actually loud causing skills
to fail to load.

How to test

Run the skill tester on the latest beta of the npr-news skill.

Contributor license agreement signed?

CLA [ Yes ]

This small change adds a check that the intent has been registered
before removing it.

If an unregistered intent was removed padatious would silently throw an
exception due to a list operation error. But when run synchronously from
the skill tester this silent exception was actually loud causing skills
to fail to load.
@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Jul 26, 2019
@krisgesling
Copy link
Contributor

Looks good to me. Merging.

@krisgesling krisgesling merged commit b357874 into dev Jul 31, 2019
@forslund forslund deleted the bugfix/padatious-detach-unregistered branch August 8, 2019 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants