From 2a65eeaae04177aa830b413cb9fa970b854d1957 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 1 May 2014 22:31:03 +0800 Subject: [PATCH] Monitor.vala --- Monitor.vala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Monitor.vala b/Monitor.vala index 3bdc9469..b4e57d2c 100644 --- a/Monitor.vala +++ b/Monitor.vala @@ -168,12 +168,15 @@ public class Monitor : Object // this.initRepo(path); //} - + try { var file_enum = f.enumerate_children( FileAttribute.STANDARD_DISPLAY_NAME + "," + FileAttribute.STANDARD_TYPE, 0, // FileQueryInfoFlags.NONE, null); - + } catch (Error e) { + // FIXME - show error.. + return; + } FileInfo next_file; while (true) { -- 2.39.2