rpc: remove handleError
This commit is contained in:
parent
7303d284d5
commit
f0806a54dd
@ -146,11 +146,6 @@ class RPC extends RPCBase {
|
||||
}
|
||||
}
|
||||
|
||||
handleError(err) {
|
||||
this.logger.error('RPC internal error.');
|
||||
this.logger.error(err);
|
||||
}
|
||||
|
||||
init() {
|
||||
this.add('stop', this.stop);
|
||||
this.add('help', this.help);
|
||||
|
||||
@ -117,11 +117,6 @@ class RPC extends RPCBase {
|
||||
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