Skip to content

Commit

Permalink
[Bitbucket] Fixed error_msg concatenation error in raise_for_status
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktxrrr committed Jan 21, 2025
1 parent 85eea47 commit 75548d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlassian/bitbucket/cloud/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def raise_for_status(self, response):
e = j["error"]
error_msg = e["message"]
if e.get("detail"):
error_msg += "\n" + e["detail"]
error_msg = f"{error_msg}\n{e['detail']}"
except Exception as e:
log.error(e)
response.raise_for_status()
Expand Down

0 comments on commit 75548d3

Please sign in to comment.