Make settings-test pass

This commit is contained in:
Girish Ramakrishnan
2017-02-06 16:02:30 -08:00
parent 19c665d747
commit 509bd7e79b
2 changed files with 50 additions and 35 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ function getEmailDnsRecords(callback) {
function ignoreError(what, func) {
return function (callback) {
func(function (error) {
if (error) console.error('Ignored error - ' + what + ':', error);
if (error && process.env.BOX_ENV !== 'test') console.error('Ignored error - ' + what + ':', error);
callback();
});