Skip to content

Commit

Permalink
Removed thrown exception, fixed date format
Browse files Browse the repository at this point in the history
  • Loading branch information
bcongdon committed May 21, 2016
1 parent 528d194 commit a4d0fc0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "wunderschedule",
"version": "1.0.7",
"version": "1.0.8",
"description": "A Node.js module that schedules start times for Wunderlist tasks.",
"main": "wunderschedule.js",
"dependencies": {
Expand Down
5 changes: 2 additions & 3 deletions utils/list.js
Expand Up @@ -14,9 +14,8 @@ var exports = module.exports
exports.getListID = function(list_name, cb){
api('/lists',function(err, res, body){
if(err){
log.error("Error getting list ID!")
log.error(err)
throw err;
log.error("Error getting lists!")
log.error(err);
}
var i = 0;
for(i = 0; i < body.length; i++){
Expand Down
2 changes: 1 addition & 1 deletion wunderschedule-run.js
Expand Up @@ -122,6 +122,6 @@ var currSeconds = new Date().getSeconds();

// Run every 1 minute
scheduler.scheduleJob(currSeconds + " * * * * *", function(){
log.info("Running scheduled check at " + new Date().toString("yyyy-mm-dd HH:mm:ss"));
log.info("Running scheduled check at " + new Date().toString("yyyy-MM-dd HH:mm:ss"));
wunderSchedule();
})
Empty file added wunderschedule-setup.js
Empty file.

0 comments on commit a4d0fc0

Please sign in to comment.