fixing fitbit
This commit is contained in:
parent
e233de0415
commit
225216bc98
@ -47,7 +47,8 @@ logger.info('Getting fitbit for: ', yesterday);
|
|||||||
|
|
||||||
jsonfile.readFile(tokenFile, function(err, obj) {
|
jsonfile.readFile(tokenFile, function(err, obj) {
|
||||||
if (err) {
|
if (err) {
|
||||||
logger.error(err);
|
logger.error('Today Fitbit token failed to load');
|
||||||
|
logger.warn(err);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user