GitLogParser.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 1 Aug 2012 23:37:22 +0000 (07:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 1 Aug 2012 23:37:22 +0000 (07:37 +0800)
GitLogParser.js

index 9c6be43..a41c91b 100644 (file)
@@ -85,7 +85,8 @@ GitLogParser = {
         
 
         if (typeof(this[ret.cmd])=='undefined') {
-            throw "Unknown application: " + ret.line;
+            print( "Unknown application: " + ret.line);
+            throw { error : "TEST"};
         }
         if (typeof(this[ret.cmd])=='string') {
             ret.project = this[ret.cmd]