summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-24 23:59:32 +0100
committerCarl Hetherington <cth@carlh.net>2019-06-27 23:56:47 +0100
commit9da16092c7add153759c1ebf035533a420567c1d (patch)
tree658343d986f2c77f0b3897c81fbc687f6873a4ac /wscript
parent5d71b1c36905659809f72e1ea63c22c4293aa37f (diff)
Better error when failing to download supporters lists.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index e4e0f84b4..89bfff194 100644
--- a/wscript
+++ b/wscript
@@ -546,7 +546,7 @@ def download_supporters(can_fail):
if (r >> 8) == 0:
r = os.system('curl -s -f https://dcpomatic.com/subscribers.cc?%s > src/wx/subscribers.cc' % urlencode({"until": last_date.strip()}))
if (r >> 8) != 0 and can_fail:
- raise Exception("Could not download supporters lists")
+ raise Exception("Could not download supporters lists (%d)", r >> 8)
def build(bld):
create_version_cc(VERSION, bld.env.CXXFLAGS)