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