in case of error during data load just fail

This commit is contained in:
Mateusz Konieczny 2022-11-05 10:06:31 +01:00
parent 5d3f374cf7
commit ba605dbb5f

View File

@ -78,6 +78,7 @@ def load_data_into_database(cursor, data):
print(e) print(e)
print() print()
print(json.dumps(entry, indent = 4)) print(json.dumps(entry, indent = 4))
raise e
def query(search_after): def query(search_after):
headers = { headers = {