in case of error during data load just fail
This commit is contained in:
parent
5d3f374cf7
commit
ba605dbb5f
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user