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

Catch exceptions when reloading skills #2299

Merged
merged 1 commit into from Sep 18, 2019

Conversation

forslund
Copy link
Collaborator

Description

I've experienced a couple of halts of the skill manager due to FileNotFoundErrors when reloading skills.

This will explicitly

  • Explicitly catch FileNotFoundError
  • Do a general catch and log for other exceptions

How to test

Make sure skill service is still loading and reloading as expected

Contributor license agreement signed?

CLA [ Yes ]

- Explicitly catch FileNotFoundError
- Do a general catch and log for other exceptions
@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Sep 11, 2019
@davidwagnerkc
Copy link
Contributor

Tested 👍

@davidwagnerkc davidwagnerkc merged commit f486528 into MycroftAI:dev Sep 18, 2019
@forslund forslund deleted the bugfix/skills-reload-error branch November 28, 2019 09:42
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

4 participants