diff --git a/services/web/app/coffee/Features/Editor/EditorController.coffee b/services/web/app/coffee/Features/Editor/EditorController.coffee index f1b70b408f..9101ffdb6f 100644 --- a/services/web/app/coffee/Features/Editor/EditorController.coffee +++ b/services/web/app/coffee/Features/Editor/EditorController.coffee @@ -231,6 +231,7 @@ module.exports = EditorController = callback() getLastTimePollHappned: (callback)-> + logger.log "getting last time a poll happened in dropbox" tpdsPollingBackgroundTasks.getLastTimePollHappned callback updateProjectDescription: (project_id, description, callback = ->)-> diff --git a/services/web/app/coffee/Features/ThirdPartyDataStore/TpdsPollingBackgroundTasks.coffee b/services/web/app/coffee/Features/ThirdPartyDataStore/TpdsPollingBackgroundTasks.coffee index 46afad2b18..e9d01d2037 100644 --- a/services/web/app/coffee/Features/ThirdPartyDataStore/TpdsPollingBackgroundTasks.coffee +++ b/services/web/app/coffee/Features/ThirdPartyDataStore/TpdsPollingBackgroundTasks.coffee @@ -32,4 +32,7 @@ self = module.exports = rclient.set LAST_TIME_POLL_HAPPEND_KEY, new Date().getTime(), callback getLastTimePollHappned: (callback = (err, lastTimePollHappened)->)-> - rclient.get LAST_TIME_POLL_HAPPEND_KEY, callback + rclient.get LAST_TIME_POLL_HAPPEND_KEY, (err, time)-> + logger.log lastTimePollHappened:time, "got last time a poll happend to dropbox" + callback(err, time) +