mirror of https://github.com/embarklabs/embark.git
Update error with or
This commit is contained in:
parent
613921169a
commit
6ad9c0dc5a
|
@ -36,7 +36,7 @@ function registerSubDomain(ens, registrar, resolver, defaultAccount, subdomain,
|
||||||
callback(null, transaction);
|
callback(null, transaction);
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
logger.error(err.message);
|
logger.error(err.message || err);
|
||||||
callback('Failed to register with error: ' + (err.message || err));
|
callback('Failed to register with error: ' + (err.message || err));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue