Log the error stack as well (for finding bugs)
This commit is contained in:
parent
dd259ea6bd
commit
12ef3c901f
@ -203,6 +203,7 @@ RPCBase.prototype.call = async function call(body, query) {
|
|||||||
code = RPCBase.errors.INTERNAL_ERROR;
|
code = RPCBase.errors.INTERNAL_ERROR;
|
||||||
this.logger.error('RPC internal error.');
|
this.logger.error('RPC internal error.');
|
||||||
this.logger.error(err);
|
this.logger.error(err);
|
||||||
|
this.logger.error(err.stack);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user