Skip to content

Commit ff79aa4

Browse files
committed
fix logs
1 parent 9552798 commit ff79aa4

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,10 +2527,6 @@ def upload_preannotations_from_folder_to_project(
25272527
annotation_paths = get_annotation_paths(
25282528
folder_path, from_s3_bucket, recursive_subfolders
25292529
)
2530-
if not annotation_paths:
2531-
raise AppException(
2532-
"Could not find annotations matching existing items on the platform."
2533-
)
25342530
logger.info(
25352531
f"Uploading {len(annotation_paths)} annotations from {folder_path} to the project {project_folder_name}."
25362532
)

src/superannotate/lib/core/usecases/annotations.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@ def execute(self):
253253
[annotation.path for annotation in self._missing_annotations],
254254
)
255255
self._log_report()
256-
else:
257-
self._response.errors = (
258-
"Could not find annotations matching existing items on the platform."
259-
)
260256
return self._response
261257

262258

0 commit comments

Comments
 (0)