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 f3d9476 commit ab15e2fCopy full SHA for ab15e2f
labelbox/schema/task.py
@@ -75,7 +75,5 @@ 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']
+ return data.get('error')
81
return None
0 commit comments