Skip to content

Commit e6789d7

Browse files
committed
client/brain: Only catch actual exceptions (i.e. not SystemExit)
This resolves #432.
1 parent f9750d8 commit e6789d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/brain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def query(self, texts):
7171
"'%s'", text, module.__name__)
7272
try:
7373
module.handle(text, self.mic, self.profile)
74-
except:
74+
except Exception:
7575
self._logger.error('Failed to execute module',
7676
exc_info=True)
7777
self.mic.say("I'm sorry. I had some trouble with " +

0 commit comments

Comments
 (0)