this and that
This commit is contained in:
parent
0f56cf7e97
commit
10681f50db
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user