mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 02:29:01 +00:00
Display socket debug info properly
This commit is contained in:
@@ -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.`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user