[Pkg-javascript-commits] [node-coveralls] 82/332: add logging when git executable is unable to be used

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 38986974273f80747fe7a6278e65176d2c21d7bd
Author: Gabe Hayes <gabriel.hayes at gmail.com>
Date:   Mon Jul 29 17:23:27 2013 -0700

    add logging when git executable is unable to be used
---
 lib/fetchGitData.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/fetchGitData.js b/lib/fetchGitData.js
index 6ab0209..d663716 100644
--- a/lib/fetchGitData.js
+++ b/lib/fetchGitData.js
@@ -75,6 +75,7 @@ var fetchGitData = function(git) {
     exec("git log -1 " + git.head.id + " --pretty=format:'%H'");
   } catch (e) {
     execGit = false;
+    logger.warn("unable to execute git, using default/passed values instead.", e.message);
   }
 
   //-- Head

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list