@@ -34,13 +34,15 @@ function download(destinationPath, url, callback)
3434{
3535 requestWithRedirects(url, 10,
3636 function(error) {
37− var url = host + '/' + path;
38− exitFailure(url, 'Error fetching binary from ' + url + ': ' + error);
37+ exitFailure(url, 'I ran into trouble while fetching ' + url + '\n\n' + error);
3938 },
4039 function(response) {
4140 if (response.statusCode == 404)
4241 {
43− exitFailure(url, 'I got a "404 Not Found" trying to download from the following URL:\n' + url);
42+ exitFailure(url, 'I got a "404 Not Found" trying to download from the following URL:\n'
43+ + url
44+ + '\n\nThis may mean you are trying to install on an unsupported platform. (e.g. some 32-bit systems?)'
45+ );
4446 }
4547
4648 response.on('error', function() {