[tomboy] Prevent Tomboy from crashing if errors occur during a JumpList update (bug #608940)
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tomboy] Prevent Tomboy from crashing if errors occur during a JumpList update (bug #608940)
- Date: Thu, 4 Feb 2010 23:32:15 +0000 (UTC)
commit 212512ed4db1bc78fdf6fe90fd5fa1e43c2abfcc
Author: Stefan Cosma <stefan cosma gmail com>
Date: Fri Feb 5 01:14:50 2010 +0200
Prevent Tomboy from crashing if errors occur during a JumpList update (bug #608940)
Tomboy/JumpListManager.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Tomboy/JumpListManager.cs b/Tomboy/JumpListManager.cs
index 4cdfac1..7200973 100644
--- a/Tomboy/JumpListManager.cs
+++ b/Tomboy/JumpListManager.cs
@@ -48,7 +48,7 @@ namespace Tomboy
Marshal.FinalReleaseComObject (custom_destinationd_list);
custom_destinationd_list = null;
- } catch (COMException e) {
+ } catch (Exception e) {
Logger.Error ("Error creating jump list: {0}\n{1}", e.Message, e.StackTrace);
}
}
@@ -64,7 +64,7 @@ namespace Tomboy
Marshal.FinalReleaseComObject (custom_destinationd_list);
custom_destinationd_list = null;
- } catch (COMException e) {
+ } catch (Exception e) {
Logger.Error ("Error removing jump list: {0}\n{1}", e.Message, e.StackTrace);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]