-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: catch json errors on empty responses from ralph (#461)
* fix: catch json errors on empty responses from ralph * fix: move JSONDecodeError catch statement to xapi lrs * fix: move JSONDecodeError catch statement to xapi lrs * chore: remove unnecessary condition * refactor: define response outside try-except * test: add tests for jsondecode error * chore: update duplicated message * chore: quality changes * chore: quality changes
- Loading branch information
Cristhian Garcia
authored
Oct 15, 2024
1 parent
9115267
commit b7e0c4b
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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