Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

add skill_id to converse error msg #2827

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Conversation

krisgesling
Copy link
Contributor

Description

Was seeing the converse error in a log file a lot but the error message doesn't give you the context of which Skill is throwing it. Hence it takes extra digging to work this out.

This adds the skill_id to the error message

How to test

Apply this change to mycroft-core v20.8.0 and run the VK tests on the latest mycroft-timer Skill.
The Skill will fail due to calling a method that doesn't yet exist.
The more complete error message will be displayed:

2021-02-08 17:08:12.509 | ERROR    |  2235 | mycroft.skills.intent_service:handle_converse_error:249 | mycroft-timer.mycroftai: converse requested but skill not loaded

Contributor license agreement signed?

@krisgesling krisgesling added the Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap. label Feb 8, 2021
@devops-mycroft devops-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Feb 8, 2021
@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results).
Mycroft logs are also available: skills.log, audio.log, voice.log, bus.log, enclosure.log

Copy link
Collaborator

@forslund forslund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement in clarity

@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results).
Mycroft logs are also available: skills.log, audio.log, voice.log, bus.log, enclosure.log

@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

@krisgesling krisgesling merged commit db79748 into dev Mar 10, 2021
@krisgesling krisgesling deleted the feature/converse-error-skill branch March 10, 2021 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants