Skip to content

Commit

Permalink
Fix incorrect log string format
Browse files Browse the repository at this point in the history
Fixes following exception:

    TypeError: not all arguments converted during string formatting
  • Loading branch information
hluk committed Nov 20, 2020
1 parent bc14594 commit a64c342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync2jira/confluence_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def update_page(self, page_id, html_str):
}
resp = requests.put(rest_url, json=data, **self.req_kwargs)
if not resp.ok:
log.error("Error updating confluence page!\nConfluence response: \n", resp.json())
log.error("Error updating confluence page!\nConfluence response: %s\n", resp.json())

return resp.json()

Expand Down

0 comments on commit a64c342

Please sign in to comment.