Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

Commit

Permalink
Change screenshot error handling to not exit when one of the URLs cau…
Browse files Browse the repository at this point in the history
…sed error, simply log it and proceed with the rest.
  • Loading branch information
cliffano committed Nov 22, 2014
1 parent ada90c3 commit 9800374
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/baker.js
Expand Up @@ -51,7 +51,8 @@ Baker.prototype.screenshot = function (tags, cb) {
} else {
console.log('%s - Created %s', 'success'.green, file);
}
cb(err);
// don't pass error here, when an error occurs then simply log it but proceed with the rest of the bookmarks
cb();
});
}

Expand Down

0 comments on commit 9800374

Please sign in to comment.