From 85302389909c1531147b15daf7750ab5e39ac63f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 30 Mar 2017 19:44:32 -0700 Subject: [PATCH] host is undefined --- cloudron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudron.js b/cloudron.js index dbd39ca..a56b5b4 100644 --- a/cloudron.js +++ b/cloudron.js @@ -774,11 +774,11 @@ Cloudron.prototype.checkMail = function (account, callback) { Cloudron.prototype.checkTcpRateLimit = function (port, times, callback) { tcpBomb(this._adminFqdn, port, times, 900 /* timeout */, function (error, result) { - if (error) return callback(new Error(host + ':' + port + ':' + error.message)); + if (error) return callback(new Error(port + ':' + error.message)); if (result.timeout) return callback(null, { status: 'OK' }); // something timedout, this is good enough - return callback(new Error(host + ':' + port + ':' + JSON.stringify(result, null, 4))); + return callback(new Error(port + ':' + JSON.stringify(result, null, 4))); }); };