aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers/icalendar-importer.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-07-19 01:56:47 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-07-19 01:56:47 +0800
commit124ae36cc044dfbe2314db2583374c6e959a5e2e (patch)
treebe0ee0556232f94d06048a13316b461bfa6db5ad /calendar/importers/icalendar-importer.c
parentec00a9179b6eba6c7812c076185de926fae454d2 (diff)
downloadgsoc2013-evolution-124ae36cc044dfbe2314db2583374c6e959a5e2e.tar.gz
gsoc2013-evolution-124ae36cc044dfbe2314db2583374c6e959a5e2e.tar.zst
gsoc2013-evolution-124ae36cc044dfbe2314db2583374c6e959a5e2e.zip
if there's an exception, continue with the next item.
2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (get_uri_from_folder_path): if there's an exception, continue with the next item. svn path=/trunk/; revision=17507
Diffstat (limited to 'calendar/importers/icalendar-importer.c')
-rw-r--r--calendar/importers/icalendar-importer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index 766202de2b..3260ed8fcc 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -176,8 +176,12 @@ get_uri_from_folder_path (ICalImporter *ici, const char *folderpath)
CORBA_exception_init (&ev);
corba_folder = GNOME_Evolution_Storage_getFolderAtPath (storage_list->_buffer[i],
folderpath, &ev);
- if (BONOBO_EX (&ev))
+ if (BONOBO_EX (&ev)) {
g_warning (_("Can't call getFolderAtPath on storage: %s"), CORBA_exception_id (&ev));
+ CORBA_exception_free (&ev);
+ continue;
+ }
+
CORBA_exception_free (&ev);
if (corba_folder) {