From 4b6fa1e95c3ef1414bfb9491092214c01615d1ab Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Tue, 15 Feb 2022 20:06:44 +0000 Subject: [PATCH] Update database_caller.py database caller fix --- database_caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database_caller.py b/database_caller.py index cfb4223..5bc6ed8 100755 --- a/database_caller.py +++ b/database_caller.py @@ -232,7 +232,7 @@ def updateNews(api_key): except Exception as e: - print(response) + exc_type, exc_obj, exc_tb = sys.exc_info() fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] logf.write(str(e))