Unverified Commit 026dcead authored by Khanh Ngo's avatar Khanh Ngo Committed by GitHub
Browse files

Merge pull request #671 from eht16/add_missing_format_arguments

Add missing format arguments for error message
parents 7024404f 2d558327
......@@ -57,7 +57,7 @@ def fetch_remote(remote_url,
if r.status_code not in (200, 201, 204, 400, 409, 422):
except Exception as e:
msg = "Returned status {0} and content {1}"
msg = "Returned status {0} and content {1}".format(r.status_code, r.text)
raise RuntimeError('Error while fetching {0}. {1}'.format(
remote_url, msg))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment