From 1bb44de8214744c67728d7ac8e83bb7662bb3d43 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 26 Oct 2006 00:08:45 +0000 Subject: [PATCH] Monotone-Parent: 6452ccaedf1fc82f0784d6e15a8fb3179f669c27 Monotone-Revision: 544b9575eeea64ec253fc04a85da32a91e15de20 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-26T00:08:45 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentObject.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index 1e63cc1bc..772245399 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -239,9 +239,8 @@ static NSString *mailTemplateDefaultLanguage = nil; apt = [folder lookupName:[self nameInContainer] inContext:ctx acquire:NO]; - if (![apt isNotNull]) { - [self logWithFormat:@"Note: did not find '%@' in folder: %@", - [self nameInContainer], folder]; + if ([apt isKindOfClass: [NSException class]]) { + [self logWithFormat: @"%@", [apt reason]]; continue; }