-
Notifications
You must be signed in to change notification settings - Fork 14
chore: Improve default error handling #1491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Alexj9837
wants to merge
22
commits into
main
Choose a base branch
from
chore/improve-default-error-handling-1379-1409
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2756a2b
chore: Improve default error handling and enhance exception messages
Alexj9837 94657ad
fix: Use typed exceptions in cli and client
Alexj9837 b2061c7
test: Update tests for new exception hierarchy
Alexj9837 575518b
fix: Address PR review comments
Alexj9837 f33a736
added content for test
Alexj9837 4cb9605
Update src/blueapi/cli/cli.py
Alexj9837 4de01fa
updated expected error message for poor grammar
Alexj9837 04973f0
Removing "I think this will prevent your new check_connection change…
Alexj9837 b3cc259
Fix: 400 responsed previously raised a bare status with no body, upd…
Alexj9837 d61ea10
chore: improve default error handling 1379 1409 (#1490)
Alexj9837 ffefee4
Merge branch 'main' into chore/improve-default-error-handling-1379-1409
Alexj9837 135cd15
Remove duplicate BlueskyRequestError
Alexj9837 74f83e4
Merge branch 'main' into chore/improve-default-error-handling-1379-1409
Alexj9837 eb037b7
add another test for non_json_body
Alexj9837 61e973a
chasing from raising a KeyError to a NotFoundError
Alexj9837 deb0dae
Update src/blueapi/client/rest.py
Alexj9837 38965f8
responding to PR feedback
Alexj9837 b666346
formatting
Alexj9837 aa8a87f
raise correct error message for reload_enviroment
Alexj9837 1e01e3e
import json at the top
Alexj9837 1b654cf
feedback from PR comments
Alexj9837 5281e75
Merge branch 'main' into chore/improve-default-error-handling-1379-1409
Alexj9837 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.