Skip to content

Commit ca17f0a

Browse files
MyMaloksgonchik
authored andcommitted
Fix format error in log 400 code error (#385)
1 parent 40a6b36 commit ca17f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/rest_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def request(self, method='GET', path='/', data=None, flags=None, params=None, he
164164
elif response.status_code == 204:
165165
log.debug('Received: {0}\n "No Content" response'.format(response.status_code))
166166
elif response.status_code == 400:
167-
log.error('Received: {0}\n Bad request \n'.format(response.status_code, response_content))
167+
log.error('Received: {0}\n Bad request \n {1}'.format(response.status_code, response_content))
168168
elif response.status_code == 401:
169169
log.error('Received: {0}\n "UNAUTHORIZED" response'.format(response.status_code))
170170
elif response.status_code == 404:

0 commit comments

Comments
 (0)