We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85eea47 commit 30f332cCopy full SHA for 30f332c
atlassian/bitbucket/cloud/base.py
@@ -113,7 +113,8 @@ def raise_for_status(self, response):
113
e = j["error"]
114
error_msg = e["message"]
115
if e.get("detail"):
116
- error_msg += "\n" + e["detail"]
+ # It uses interpolation instead of concatenation because of https://github.com/atlassian-api/atlassian-python-api/issues/1481
117
+ error_msg = f"{error_msg}\n{e['detail']}"
118
except Exception as e:
119
log.error(e)
120
response.raise_for_status()
0 commit comments