Make Rawserial node fail more quietly

This commit is contained in:
Dave C-J 2014-12-12 23:15:42 +00:00
parent c128184d6a
commit 5cd7a73baf
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ module.exports = function(RED) {
var pre = "\\\\.\\";
if (!plat.match(/^win/)) {
util.log("[26-rawserial.js] Info : only really needed for Windows boxes without serialport npm module installed.");
throw "Info : only really needed for Windows boxes without serialport npm module installed.";
//util.log("[26-rawserial.js] Info : only really needed for Windows boxes without serialport npm module installed.");
pre = "";
}