[Pkg-javascript-commits] [node-coveralls] 81/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 a1fb3ffe1adae08b106bb6c5f7b85e7a333fb374
Author: Gabe Hayes <gabriel.hayes at gmail.com>
Date:   Mon Jul 29 17:22:16 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