Less logs

This commit is contained in:
Danielv123 committed 2017-04-21 10:21:47 +02:00
1 parent 78334fc7e0
commit 31e4bab159
1 file changed
+2 -2
+2 -2
View File
@@ -402,9 +402,9 @@ function instanceManagement() {
require('getmac').getMac(function (err, mac) {
if (err) throw err
payload.mac = mac
console.log("Registered our precense with master at " + payload.time);
console.log("Registered our precense with master "+config.masterPort+" at " + payload.time);
needle.post(config.masterIP + ":" + config.masterPort + '/api/getID', payload, function (err, response, body) {
if (err){
if (err && err.code != "ECONNRESET"){
console.error("We got problems, something went wrong when contacting master");
console.error(err);
} else if (response && response.body) {