Skip to content

Commit

Permalink
Rest-client adjustments atlassian-api#919
Browse files Browse the repository at this point in the history
  • Loading branch information
gonchik committed Jan 4, 2023
1 parent 3ba0793 commit fc620ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlassian/rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def raise_for_status(self, response):
error_msg = "\n".join([k + ": " + v for k, v in j.items()])
else:
error_msg = "\n".join(
j.get("errorMessages", list()) + [k + ": " + v for k, v in j.get("errors", dict()).items()]
j.get("errorMessages", list()) + [k.get("message", "") for k in j.get("errors", dict())]
)
except Exception as e:
log.error(e)
Expand Down

0 comments on commit fc620ae

Please sign in to comment.