Update database_caller.py
database caller fix
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user