wallet-rpc: log queries

This commit is contained in:
Matthew Zipkin 2019-02-07 13:37:11 -08:00
parent da2084f503
commit 7303d284d5
No known key found for this signature in database
GPG Key ID: E7E2984B6289C93A

View File

@ -113,6 +113,15 @@ class RPC extends RPCBase {
}
}
handleCall(cmd, query) {
this.logger.debug('Handling RPC call: %s.', cmd.method);
}
handleError(err) {
this.logger.error('RPC internal error.');
this.logger.error(err);
}
init() {
this.add('help', this.help);
this.add('stop', this.stop);