mirror of https://github.com/docker/docs.git
Better error for ECONNREFUSED
This commit is contained in:
parent
71a15af401
commit
adea6723ba
|
@ -48,7 +48,7 @@ var Docker = {
|
|||
tryCount += 1;
|
||||
yield Promise.delay(delay);
|
||||
if (tryCount > tries) {
|
||||
throw new Error(err);
|
||||
throw new Error('Cannot connect to the Docker Engine. Either the VM is not responding or it may be blocked by a VPN connection: ' + err.message);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue