Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9568266

Browse files
committed
raise exception on failure
1 parent a8745e7 commit 9568266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎jsonbox.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ def _check_response(self, response):
8989
json_data = response.json()
9090
return json_data
9191
else:
92-
returnFalse
92+
raiseValueError(str(response.text))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /