aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 5630b778771..659826fea66 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -69,8 +69,8 @@ def download(desc, src, writer, start_byte=0):
print("No Rust compiler binary available for this platform. "
"Please see https://github.com/servo/servo/#prerequisites")
sys.exit(1)
- except urllib2.URLError:
- print("Error downloading Rust compiler; are you connected to the internet?")
+ except urllib2.URLError, e:
+ print("Error downloading Rust compiler: " + str(e.reason) + ". The failing URL was: " + src)
sys.exit(1)
except KeyboardInterrupt:
writer.flush()