linux bubbles: Add debug info, don't fail silently. #1299

This commit is contained in:
Hylke Bons 2013-06-01 11:12:44 +01:00
parent 02e6567fdc
commit 4086b951f2

View file

@ -19,6 +19,7 @@ using System;
using Gtk;
using Notifications;
using SparkleLib;
namespace SparkleShare {
@ -53,9 +54,8 @@ namespace SparkleShare {
notification.Show ();
} catch (Exception) {
// Ignore exceptions thrown by libnotify,
// they're not important enough to crash
} catch (Exception e) {
Logger.LogInfo ("Notification", "Error showing notification: ", e);
}
};
}