diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py index 7327ea4c5..b5dd5521d 100644 --- a/v2v/rhv-upload-plugin.py +++ b/v2v/rhv-upload-plugin.py @@ -317,7 +317,7 @@ def request_failed(h, r, msg): debug(body) # Only a short error is included in the exception. - raise RuntimeError("%s: %d %s: %r", msg, status, reason, body[:200]) + raise RuntimeError("%s: %d %s: %r" % (msg, status, reason, body[:200])) # For documentation see: # https://github.com/oVirt/ovirt-imageio/blob/master/docs/random-io.md