add poll request logging back in
This commit is contained in:
parent
e8c9da46b6
commit
5bc47bccc7
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ function poll(req, res) {
|
||||||
var rateRec = plugins.getDeviceRate();
|
var rateRec = plugins.getDeviceRate();
|
||||||
var balanceRec = plugins.getBalance();
|
var balanceRec = plugins.getBalance();
|
||||||
|
|
||||||
|
logger.debug('poll request from: %s', getFingerprint(req));
|
||||||
|
|
||||||
// `rateRec` and `balanceRec` are both objects, so there's no danger
|
// `rateRec` and `balanceRec` are both objects, so there's no danger
|
||||||
// of misinterpreting rate or balance === 0 as 'Server initializing'.
|
// of misinterpreting rate or balance === 0 as 'Server initializing'.
|
||||||
if (!rateRec || !balanceRec) {
|
if (!rateRec || !balanceRec) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue