ip: minor.

This commit is contained in:
Christopher Jeffrey 2017-02-04 01:16:17 -08:00
parent 1b5d361415
commit 60125003a4
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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'));
};
/**