You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1379Fixes#1409
Both issues related to error handling in the REST client.
1379 - Catches 'UnauthorisedAccessErrorexplicitly instead of
string-matching onBlueskyRemoteControlError`.
1409 - Expands the exception hierarchy so each
HTTP status code raises a distinct typed exception rather than bundling
everything into BlueskyRemoteControlError.
Tests
Update tests to match new exception signatures
Add missing coverage for 422 non-list detail response
Add missing coverage for streaming error in run command
---------
Co-authored-by: Peter Holloway <peter.holloway@diamond.ac.uk>
Co-authored-by: Shreelakshmi Iyengar <shreelakshmi.iyengar@diamond.ac.uk>
Co-authored-by: Zoheb Shaikh <zoheb.shaikh@diamond.ac.uk>
Co-authored-by: Daniel Fernandes <65790536+dan-fernandes@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zoheb Shaikh <26975142+ZohebShaikh@users.noreply.github.com>
Co-authored-by: Abigail Emery <abigail.emery@diamond.ac.uk>
Co-authored-by: oliwenmandiamond <136330507+oliwenmandiamond@users.noreply.github.com>
Co-authored-by: NeilSmithDLS <118457264+NeilSmithDLS@users.noreply.github.com>
0 commit comments