rpc: remove handleError

This commit is contained in:
Matthew Zipkin 2019-02-07 14:00:37 -08:00
parent 7303d284d5
commit f0806a54dd
No known key found for this signature in database
GPG Key ID: E7E2984B6289C93A
2 changed files with 0 additions and 10 deletions

View File

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

View File

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