Skip to content

Commit 4a27a1d

Browse files
committed
tod
1 parent b7c68ac commit 4a27a1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/superannotate/lib/infrastructure/services.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,7 @@ def upload_big_annotation(
14521452
data={"data_chunk": chunk},
14531453
)
14541454
if not response.ok:
1455+
print(chunk)
14551456
raise AppException("Upload failed.")
14561457
chunk_id += 1
14571458
if not chunk and not data_sent:
@@ -1498,6 +1499,7 @@ def upload_big_annotation(
14981499
return True
14991500
elif status.startswith("FAILED"):
15001501
return False
1502+
time.sleep(1)
15011503
else:
15021504
return False
15031505

0 commit comments

Comments
 (0)