Browse Source

on startup, print node version info to help diagnose bug reports

fix-133-memory-crash
Dan Janosik 6 years ago
parent
commit
8add5d8873
  1. 7
      app.js

7
app.js

@ -91,6 +91,13 @@ app.runOnStartup = function() {
password: rpcCredentials.password,
timeout: 5000
});
coreApi.getNetworkInfo().then(function(getnetworkinfo) {
console.log("Connected via RPC to node. Basic info: version=" + getnetworkinfo.version + ", subversion=" + getnetworkinfo.subversion + ", protocolversion=" + getnetworkinfo.protocolversion + ", services=" + getnetworkinfo.localservices);
}).catch(function(err) {
console.log("Error 923grf20fge: " + err + ", error json: " + JSON.stringify(err));
});
}
if (config.donationAddresses) {

Loading…
Cancel
Save