diff --git a/src/bastion.js b/src/bastion.js index f339f254..774f7c4c 100644 --- a/src/bastion.js +++ b/src/bastion.js @@ -23,7 +23,6 @@ function getPublicIp() { }); req.once('timeout', () => { req.abort(); - return reject(new Error(`request timed out after ${options.timeout}ms`)); }); req.once('error', reject); });