Log the error stack as well (for finding bugs)

This commit is contained in:
Sky Young 2018-10-04 13:47:12 -06:00
parent dd259ea6bd
commit 12ef3c901f

View File

@ -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;
}