We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f3bf4 commit f3d9476Copy full SHA for f3d9476
labelbox/schema/task.py
@@ -75,5 +75,7 @@ def errors(self):
75
response = requests.get(self.result)
76
response.raise_for_status()
77
data = response.json()
78
+ if 'error' not in data:
79
+ raise KeyError(f"Key 'error' does not exist in {data}")
80
return data['error']
81
return None
0 commit comments