From 12ef3c901fe48ddd825c5050971022c58840c3fb Mon Sep 17 00:00:00 2001 From: Sky Young Date: Thu, 4 Oct 2018 13:47:12 -0600 Subject: [PATCH] Log the error stack as well (for finding bugs) --- lib/http/rpcbase.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/http/rpcbase.js b/lib/http/rpcbase.js index 038c1550..81c7b3ab 100644 --- a/lib/http/rpcbase.js +++ b/lib/http/rpcbase.js @@ -203,6 +203,7 @@ RPCBase.prototype.call = async function call(body, query) { code = RPCBase.errors.INTERNAL_ERROR; this.logger.error('RPC internal error.'); this.logger.error(err); + this.logger.error(err.stack); break; }