Skip to content

Commit ab200bc

Browse files
committed
Error handling
1 parent 521388d commit ab200bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

labelbox/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,4 +1428,7 @@ def is_feature_schema_archived(self, feature_schema_id: str, ontology_id: str) -
14281428
return True
14291429
elif response.status_code == 404:
14301430
raise labelbox.exceptions.ResourceNotFoundError(Ontology, ontology_id)
1431+
else:
1432+
raise labelbox.exceptions.LabelboxError(
1433+
"Failed to get the feature schema archived status.")
14311434

0 commit comments

Comments
 (0)