From 9a392924c60e7186b8514ae06d6d7ebbc84f83c9 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 31 May 2019 20:05:53 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/AI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/AI.py b/sopel_modules/SpiceBot/AI.py index 4a355b8..d8efc71 100644 --- a/sopel_modules/SpiceBot/AI.py +++ b/sopel_modules/SpiceBot/AI.py @@ -35,7 +35,8 @@ class SpiceBot_AI(): def on_message(self, message): try: aiml_response = self.aiml_kernel.respond(message) - except WARNING: + except Exception as e: + aiml_response = e return None return aiml_response