Better trace register ens

This commit is contained in:
Anthony Laibe 2018-09-10 10:12:02 +01:00
parent 8c3ac34fac
commit 613921169a
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ function registerSubDomain(ens, registrar, resolver, defaultAccount, subdomain,
callback(null, transaction);
})
.catch(err => {
logger.error(err);
logger.error(err.message);
callback('Failed to register with error: ' + (err.message || err));
});
}

View File

@ -1,6 +1,6 @@
{
"default": {
"enabled": true,
"enabled": false,
"available_providers": [
"ens"
],