Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/cpcaserver6/getinfo/getinfo.js:22
- var cpuMatches = dataCPU.match(/^ ([0-9.]+), ([0-9.]+), ([0-9.]+)$/);
- ^
- TypeError: Cannot call method 'match' of undefined
- at /home/cpcaserver6/getinfo/getinfo.js:22:27
- at /home/cpcaserver6/getinfo/node_modules/restify/lib/server.js:628:44
- at done (/home/cpcaserver6/getinfo/node_modules/restify/lib/server.js:352:16)
- at IncomingMessage.<anonymous> (/home/cpcaserver6/getinfo/node_modules/restify/lib/server.js:391:16)
- at IncomingMessage.emit (events.js:61:17)
- at HTTPParser.onMessageComplete (http.js:133:23)
- at Socket.ondata (http.js:1019:22)
- at Socket._onReadable (net.js:683:27)
- at IOWatcher.onReadable [as callback] (net.js:177:10)
Add Comment
Please, Sign In to add comment