[gitg] Remove unnecessary error printing



commit bf5f37bc911089ec891a5de9bb46de44d05b56b7
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Wed Dec 23 01:00:55 2015 +0100

    Remove unnecessary error printing

 gitg/commit/gitg-commit-dialog.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gitg/commit/gitg-commit-dialog.vala b/gitg/commit/gitg-commit-dialog.vala
index aa3b519..7223c45 100644
--- a/gitg/commit/gitg-commit-dialog.vala
+++ b/gitg/commit/gitg-commit-dialog.vala
@@ -675,9 +675,7 @@ class Dialog : Gtk.Dialog
                                d_source_view_message.buffer.set_text(default_message);
                        }
                }
-               catch (Error e) {
-                       stderr.printf(@"ERROR: Failed to read commit.template: $(e.message)\n");
-               }
+               catch {}
        }
 
        private void update_highlight()


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