Skip to content

Commit

Permalink
Fix "err is not defined"
Browse files Browse the repository at this point in the history
  • Loading branch information
Miosame authored Jan 17, 2020
1 parent c2e28af commit d90c207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const convert = (cidrIp, ip2) => {
}
}

throw err;
throw errorMessage;
}

module.exports = convert;

0 comments on commit d90c207

Please sign in to comment.