From f0806a54dd67358e68578e5118366ea14728750c Mon Sep 17 00:00:00 2001 From: Matthew Zipkin Date: Thu, 7 Feb 2019 14:00:37 -0800 Subject: [PATCH] rpc: remove handleError --- lib/node/rpc.js | 5 ----- lib/wallet/rpc.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/lib/node/rpc.js b/lib/node/rpc.js index 8c2bd0bb..b9a19ddb 100644 --- a/lib/node/rpc.js +++ b/lib/node/rpc.js @@ -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); diff --git a/lib/wallet/rpc.js b/lib/wallet/rpc.js index 67a0baee..80deaa9e 100644 --- a/lib/wallet/rpc.js +++ b/lib/wallet/rpc.js @@ -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);