diff --git a/holepunch/helpers/update-ip.js b/holepunch/helpers/update-ip.js index 3e3606b..17f36e9 100644 --- a/holepunch/helpers/update-ip.js +++ b/holepunch/helpers/update-ip.js @@ -73,7 +73,7 @@ module.exports.update = function (opts) { }); }); - req.on('error', function () { + req.on('error', function (err) { reject(err); });