Skip to content

Commit 16d1ac0

Browse files
Vaghinak BasentsyanVaghinak Basentsyan
authored andcommitted
Added error measseg in run_segmentation function
1 parent 0723840 commit 16d1ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ def execute(self):
763763
image_ids=image_ids,
764764
)
765765
if not res.ok:
766-
# todo add error message in the response
766+
self._response.errors = res.json().get("error")
767767
return self._response
768768

769769
success_images = []

0 commit comments

Comments
 (0)