mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
Less logs
This commit is contained in:
1 parent
78334fc7e0
commit
31e4bab159
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user