Skip to content

Commit

Permalink
update error log for labelbox project export
Browse files Browse the repository at this point in the history
  • Loading branch information
tyesayan committed Dec 11, 2024
1 parent 519b357 commit 7b38832
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deeplake/integrations/labelbox/labelbox_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ def labelbox_get_project_json_with_id_(client, project_id, fail_on_error=False):

if export_task.errors:
if fail_on_error:
raise ValueError("Labelbox export task failed with errors")
raise ValueError(

Check warning on line 195 in deeplake/integrations/labelbox/labelbox_utils.py

View check run for this annotation

Codecov / codecov/patch

deeplake/integrations/labelbox/labelbox_utils.py#L194-L195

Added lines #L194 - L195 were not covered by tests
f"Labelbox export task failed with errors: {export_task.errors}"
)
print("Labelbox export task failed with errors:", export_task.errors)

Check warning on line 198 in deeplake/integrations/labelbox/labelbox_utils.py

View check run for this annotation

Codecov / codecov/patch

deeplake/integrations/labelbox/labelbox_utils.py#L198

Added line #L198 was not covered by tests

print("project info is ready for project with id", project_id)
Expand Down

0 comments on commit 7b38832

Please sign in to comment.