From 10681f50db9e38ba1c422cba8272912b9627a260 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 18 May 2016 01:36:58 -0700 Subject: [PATCH] this and that --- cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index 934a5a9..1c56f7b 100644 --- a/cloudron.js +++ b/cloudron.js @@ -401,7 +401,7 @@ Cloudron.prototype.checkMX = function (callback) { if (error) return callback(error); if (records.length !== 1) return callback(new Error('Got ' + JSON.stringify(records) + ' MX records. Expecting 1 length array')); - if (records[0].exchange !== this._adminFqdn) return callback(new Error('Bad MX record. ' + records[0])); + if (records[0].exchange !== that._adminFqdn) return callback(new Error('Bad MX record. ' + JSON.stringify(records[0]))); callback(null, records); });