mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-01 11:43:58 +01:00
Making the wallet stats error more verbose.
This commit is contained in:
+1
-1
@@ -455,7 +455,7 @@ function updateWalletStats() {
|
|||||||
}
|
}
|
||||||
], function (err, results) {
|
], function (err, results) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return console.error(err);
|
return console.error("Unable to get wallet stats: " + results);
|
||||||
}
|
}
|
||||||
global.database.setCache('walletStateInfo', results);
|
global.database.setCache('walletStateInfo', results);
|
||||||
let history = global.database.getCache('walletHistory');
|
let history = global.database.getCache('walletHistory');
|
||||||
|
|||||||
Reference in New Issue
Block a user