wallet-rpc: log queries
This commit is contained in:
parent
da2084f503
commit
7303d284d5
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user