[gnome-builder] git: print reason for not loading



commit 931cc61704bcec23f672683f242993b00e4f6c5f
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 12 18:19:29 2016 -0700

    git: print reason for not loading
    
    Mostly innocuous, but useful when debugging.

 plugins/git/ide-git-vcs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/ide-git-vcs.c b/plugins/git/ide-git-vcs.c
index 02379cb..30d104a 100644
--- a/plugins/git/ide-git-vcs.c
+++ b/plugins/git/ide-git-vcs.c
@@ -271,6 +271,7 @@ ide_git_vcs_reload_worker (GTask        *task,
   if (!(repository1 = ide_git_vcs_load (self, &error)) ||
       !(repository2 = ide_git_vcs_load (self, &error)))
     {
+      g_debug ("%s", error->message);
       g_task_return_error (task, error);
       IDE_EXIT;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]