From 65d6400826a4f3bf67a8a5d24e9625c229c9276c Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Mon, 24 Feb 2020 12:31:10 -0400 Subject: [PATCH] better log --- services/gunDB/Mediator/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 82254b0b..3bf642b6 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -1138,7 +1138,7 @@ const register = async (alias, pass) => { _currentAlias = alias _currentPass = await mySEA.encrypt(pass, mySecret) } 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