better log

This commit is contained in:
Daniel Lugo 2020-02-24 12:31:10 -04:00
parent 07cfed1282
commit 65d6400826

View file

@ -1138,7 +1138,7 @@ const register = async (alias, pass) => {
_currentAlias = alias _currentAlias = alias
_currentPass = await mySEA.encrypt(pass, mySecret) _currentPass = await mySEA.encrypt(pass, mySecret)
} else { } else {
throw new Error('unknown error') throw new Error('unknown error, ack: ' + JSON.stringify(ack))
} }
// restart instances so write to user graph work, there's an issue with gun // restart instances so write to user graph work, there's an issue with gun