mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Print response content in case we cannot upload artifact to bintray.
This commit is contained in:
@ -48,6 +48,7 @@ def upload(version, filepath, artefact):
|
||||
rcode_family = rcode // 100
|
||||
if rcode_family not in (2, 3):
|
||||
print("ERROR: Fail to upload artefact")
|
||||
print(r.text)
|
||||
return False
|
||||
|
||||
return True
|
||||
|
Reference in New Issue
Block a user