}
-
-
try {
success += repo.commit(
GitMonitorQueue.messageToString(messages),
success += repo.push();
} catch(Error e) {
+
+ // if the error is 'nothing to commit, working tree clean'
+ // then it's not an error, - just continue;
+
+ if (/nothing to commit, working tree clean/.match(e.message)) {
+ success += e.message;
+ continue;
+ }
+
+
+
this.paused = false;
this.pauseError(e.message);