Display socket debug info properly

This commit is contained in:
John Furrow
2017-07-01 20:57:18 -07:00
parent 1337c42a21
commit 331c37a440
+1 -1
View File
@@ -71,7 +71,7 @@ class ClientRequest {
handleError(error) {
if (error.code === 'ECONNREFUSED') {
console.error(`Connection refused at ${error.address}:${error.port}. ` +
console.error(`Connection refused at ${error.address}${error.port ? `:${error.port}` : ''}. ` +
`Check these values in config.js and ensure that rTorrent is running.`);
}