Skip to content

Commit b1a7a99

Browse files
committed
Merge pull request #589 from phutchins/master
Adding more detailed logging with host and port when there are RPC conn...
2 parents 38b69f4 + cd69983 commit b1a7a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/RpcClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function rpc(request, callback) {
204204
});
205205
});
206206
req.on('error', function(e) {
207-
var err = new Error('Could not connect to bitcoin via RPC: ' + e.message);
207+
var err = new Error('Could not connect to bitcoin via RPC at host: ' + self.host + ' port: ' + self.port + ' Error: ' + e.message);
208208
log.err(err);
209209
callback(err);
210210
});

0 commit comments

Comments
 (0)