Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improved error on deploy with no network

  • Loading branch information...
commit 298823686f5207010dd17c2a928c7ede5e53a475 1 parent 4f952da
@dgreensp dgreensp authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/meteor/deploy.js
View
3  app/meteor/deploy.js
@@ -99,7 +99,8 @@ var bundle_and_deploy = function (site, app_dir, opt_debug, opt_tests,
var rpc = meteor_rpc('deploy', 'POST', site, opts, function (err, body) {
if (err) {
- process.stderr.write("\nError deploying application: " + body + "\n");
+ var errorMessage = (body || ("Connection error (" + err.message + ")"));
+ process.stderr.write("\nError deploying application: " + errorMessage + "\n");
process.exit(1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.