Skip to content

Commit

Permalink
Merge 9dd3b58 into 7ea67f0
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed May 24, 2020
2 parents 7ea67f0 + 9dd3b58 commit a9b35b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/wandbox/wandbox.py
Expand Up @@ -85,7 +85,8 @@ def run(self):
try:
return response.json()
except json.decoder.JSONDecodeError as e:
raise requests.exceptions.HTTPError(e, response.status_code)
response.status_code = 500
raise RHTTPError(e, response=response)

def code(self, code):
"""
Expand Down

0 comments on commit a9b35b3

Please sign in to comment.