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

Commit

Permalink
Merge pull request #2827 from MycroftAI/feature/converse-error-skill
Browse files Browse the repository at this point in the history
add skill_id to converse error msg
  • Loading branch information
krisgesling authored Mar 10, 2021
2 parents c147481 + 5ca3426 commit db79748
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mycroft/skills/intent_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ def handle_converse_error(self, message):
Arguments:
message (Message): info about the error.
"""
LOG.error(message.data['error'])
skill_id = message.data["skill_id"]
error_msg = message.data['error']
LOG.error("{}: {}".format(skill_id, error_msg))
if message.data["error"] == "skill id does not exist":
self.remove_active_skill(skill_id)

Expand Down

0 comments on commit db79748

Please sign in to comment.