From d7fb2bab9fd75bc47b6e450785cfd2e3fff69011 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Mon, 23 Sep 2019 10:50:42 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Search.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sopel_modules/SpiceBot/Search.py b/sopel_modules/SpiceBot/Search.py index 9ca7b3c..abe29b8 100644 --- a/sopel_modules/SpiceBot/Search.py +++ b/sopel_modules/SpiceBot/Search.py @@ -13,6 +13,8 @@ from .Config import config as botconfig from .Read import read as botread from .Commands import commands as botcommands +from .Logs import logs + # TODO add a cache flush @@ -120,6 +122,7 @@ class Search(): data = requests.get(searchdict["searchurl"]) data = json.loads(data.decode('utf-8')) except Exception as e: + logs.log(str(e), True) data = e return None if data['result_type'] == 'no_results':