ip: minor.
This commit is contained in:
parent
1b5d361415
commit
60125003a4
@ -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'));
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user