@@ -235,10 +235,10 @@ def updateDatasetRows(db,project,dataset,rows,filterVars=['ParticipantId','Seque
else:
mode='insert'
resp=db.modifyRows('insert',project,'study',dataset,[r])
- encoding=chardet.detect(resp)['encoding']
- respJSON=json.loads(resp.decode(encoding))
+ #encoding=chardet.detect(resp)['encoding']
+ #respJSON=json.loads(resp.decode(encoding))
try:
+ print(resp['exception'])
print(f'Using mode={mode}')
- print(respJSON['exception'])
except KeyError:
pass