From 225216bc98883606ed1decda9087f14ea76be2d4 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Mon, 11 Apr 2016 15:12:44 +0100 Subject: [PATCH] fixing fitbit --- lib/today/fitbit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/today/fitbit.js b/lib/today/fitbit.js index ef91be0..b91ca5d 100644 --- a/lib/today/fitbit.js +++ b/lib/today/fitbit.js @@ -47,7 +47,8 @@ logger.info('Getting fitbit for: ', yesterday); jsonfile.readFile(tokenFile, function(err, obj) { if (err) { - logger.error(err); + logger.error('Today Fitbit token failed to load'); + logger.warn(err); } else {