From 60125003a49b69ae74c110ab09b19a5371912eac Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 4 Feb 2017 01:16:17 -0800 Subject: [PATCH] ip: minor. --- lib/utils/ip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/ip.js b/lib/utils/ip.js index 05e67727..b332ef69 100644 --- a/lib/utils/ip.js +++ b/lib/utils/ip.js @@ -443,7 +443,7 @@ IP.toString = function toString(raw) { return host; } - throw Error('Invalid IP address: ' + raw.toString('hex')); + throw new Error('Invalid IP address: ' + raw.toString('hex')); }; /**