-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
clientRelates to client codeRelates to client code
Description
The default exception handler in the rest client currently only handles 404 and bundles everything else in together
if code < 400:
return None
elif code == 404:
return KeyError(str(response.json()))
else:
return BlueskyRemoteControlError(code, str(response))It would be good to expand this to handle 401/403 as well as making 404 not a KeyError which only makes sense for certain requests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clientRelates to client codeRelates to client code