diff --git a/ovos_workshop/decorators/killable.py b/ovos_workshop/decorators/killable.py index a4eb275b..d6f4f157 100644 --- a/ovos_workshop/decorators/killable.py +++ b/ovos_workshop/decorators/killable.py @@ -99,7 +99,6 @@ def cb(): except threading.ThreadError: pass # already killed except AssertionError: - LOG.exception("could not determine thread id") pass # could not determine thread id ? except exc: # this is the exception we raised ourselves to kill the thread diff --git a/ovos_workshop/skills/ovos.py b/ovos_workshop/skills/ovos.py index fbf6dca4..6ddece8e 100644 --- a/ovos_workshop/skills/ovos.py +++ b/ovos_workshop/skills/ovos.py @@ -1265,10 +1265,16 @@ def _handle_converse_request(self, message: Message): self.bus.emit(message.reply('skill.converse.response', {"skill_id": self.skill_id, "result": result})) + except (AbortQuestion, AbortEvent): + self.bus.emit(message.reply('skill.converse.response', + {"skill_id": self.skill_id, + "error": "killed", + "result": False})) except Exception as e: LOG.error(e) self.bus.emit(message.reply('skill.converse.response', {"skill_id": self.skill_id, + "error": repr(e), "result": False})) def _handle_stop_ack(self, message: Message):