Skip to content

Commit

Permalink
Merge pull request #36 from amaltaro/wmcore-10887
Browse files Browse the repository at this point in the history
Fix http error parser in the client
  • Loading branch information
yuyiguo authored Nov 4, 2021
2 parents 482fa03 + 4a2cab0 commit 0290d3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/python/dbs/apis/dbsClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ def __parseForException(self, http_error):
"""
data = http_error.body
try:
if isinstance(data, str):
data = json.loads(data)
data = json.loads(data)
except:
raise http_error

Expand Down

0 comments on commit 0290d3f

Please sign in to comment.