Skip to content
Snippets Groups Projects
Commit 3e12fce1 authored by Henrik Triem's avatar Henrik Triem
Browse files

Another subscription test

parent 079e0ea0
No related branches found
No related tags found
No related merge requests found
Pipeline #22921 passed
......@@ -269,7 +269,7 @@ for file in files:
if r.status_code == requests.codes.ok:
print "Upload successful: %s" % (file)
else:
raise StandardError, "Upload failed for %s - http status: %s - message:\n%s" % (upload_name, r.status_code, r.text[:30])
raise StandardError, "Upload failed for %s - http status: %s %s - message:\n%s" % (upload_name, r.status_code, args.target, r.text[:30])
file_data = [('file', ('upload.json', json.dumps(upload_meta)))]
r = aptly_session().post(upload_url, files=file_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment