Comparing version 2.7.2 to 2.7.3
{ | ||
"name": "cncserver", | ||
"version": "2.7.2", | ||
"version": "2.7.3", | ||
"description": "A web based a web based CNC Server/Controller to drive @makersylvia's WaterColorBot and beyond", | ||
@@ -5,0 +5,0 @@ "main": "cncserver.js", |
@@ -178,4 +178,4 @@ /*jslint node: true */ | ||
simulation = true; | ||
if (config.debug) console.log('SerialPort says:' + JSON.stringify(err)); | ||
sendMessage('serial.error', {type:'connect', message: err}); | ||
if (config.debug) console.log('SerialPort says:' + err.toString()); | ||
sendMessage('serial.error', {type:'connect', message: err.toString()}); | ||
} | ||
@@ -185,4 +185,4 @@ }); | ||
simulation = true; | ||
console.log('SerialPort says:' + JSON.stringify(err)); | ||
sendMessage('serial.error', {type:'connect', message: err}); | ||
console.log('SerialPort says:' + err.toString()); | ||
sendMessage('serial.error', {type:'connect', message: err.toString()}); | ||
} | ||
@@ -192,4 +192,4 @@ } | ||
function disconnectSerial(err) { | ||
console.log('Serial Disconnected!'.error + JSON.stringify(err)); | ||
sendMessage('serial.disconnected', {message: err}); | ||
console.log('Serial Disconnected!'.error + err.toString()); | ||
sendMessage('serial.disconnected', {message: err.toString()}); | ||
} | ||
@@ -196,0 +196,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
492340