Skip to content

Commit

Permalink
Fixed error flow when git cloning fails #156
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacklone committed Aug 1, 2015
1 parent 07f4be6 commit f5adeda
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/service/repoCaches/gitRepoCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ module.exports = function GitRepoCache(options) {
return utils.exec(gitCommand, options.repoCacheRoot)
.then(function() {
logger.log('Cloned {0} git repository to private'.format(repoName));
})
.catch(function(error) {
logger.log('Error during cloning in ' + repoName);
logger.error(error.message);
});
}

Expand Down

0 comments on commit f5adeda

Please sign in to comment.