diff --git a/ChangeLog b/ChangeLog index 5bb5c2931..724ccbd57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-10-18 Francis Lachapelle + + * SoObjects/Mailer/SOGoMailFolder.m + (-copyUIDs:toFolder:inContext:): now returns the raw IMAP response + when the copy operation failed (most probably something like "Over quota"). + 2011-10-17 Wolfgang Sourdeau * OpenChange/MAPIStoreMapping.m (-initForUsername:withIndexing:): diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index d64a82cdc..ab8723508 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -571,7 +571,7 @@ static NSString *defaultUserID = @"anyone"; result = nil; else result = [NSException exceptionWithHTTPStatus: 500 - reason: @"Couldn't copy UIDs."]; + reason: [[[result objectForKey: @"RawResponse"] objectForKey: @"ResponseResult"] objectForKey: @"description"]]; } else result = [NSException exceptionWithHTTPStatus: 500