From: Alan Knowles Date: Mon, 14 Aug 2017 03:07:47 +0000 (+0800) Subject: GitMonitor.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=b89e42a13c1c88331f8922150f642106fc41d77d GitMonitor.vala --- diff --git a/GitMonitor.vala b/GitMonitor.vala index 22c99f71..bdef5358 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -237,7 +237,7 @@ public class GitMonitor : Monitor notification.set_timeout(5); notification.show(); } catch(Error e) { - print(e.message); + print("Error %s\n",e.message); } return false; // do not keep doing this.. @@ -480,6 +480,7 @@ public class GitMonitor : Monitor repo.pull(); } catch(Error e) { failure += e.message; + print("Pull failed:\n"); } @@ -488,11 +489,13 @@ public class GitMonitor : Monitor repo.add(add_files_f); } catch(Error e) { failure += e.message; + print("Add failed:\n"); } try { repo.remove(remove_files_f); } catch(Error e) { failure += e.message; + print("Remove failed:\n"); } this.paused = false; @@ -507,10 +510,12 @@ public class GitMonitor : Monitor } catch(Error e) { failure += e.message; + print("Push failed:\n"); } } + // finally merge all the commit messages. try {