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
feat/speak_error_flag #152
Conversation
when a skill registered an event via self.add_event (recommend) it always speaks an error message when there is an exception, most of the time this is unwanted outside intents this commit puts this behind a flag but keeps default behavior (speak errors by default) to test use some failing common_query or common_play skill and verify that no error is spoken, this would be previously be spoken during the search phase even if skill was not selected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't comment on the code, leave that to @NeonDaniel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this just needs some unit test fixes
Codecov Report
@@ Coverage Diff @@
## dev #152 +/- ##
==========================================
+ Coverage 50.35% 53.05% +2.70%
==========================================
Files 119 152 +33
Lines 10077 9803 -274
==========================================
+ Hits 5074 5201 +127
+ Misses 5003 4602 -401
Continue to review full report at Codecov.
|
when a skill registered an event via self.add_event (recommend) it always speaks an error message when there is an exception, most of the time this is unwanted outside intents
this commit puts this behind a flag but keeps default behavior (speak errors by default)
to test use some failing common_query or common_play skill and verify that no error is spoken, this would be previously be spoken during the search phase even if skill was not selected