From b89e42a13c1c88331f8922150f642106fc41d77d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 14 Aug 2017 11:07:47 +0800 Subject: [PATCH] GitMonitor.vala --- GitMonitor.vala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 { -- 2.39.2