From cd483369660def410d8ab90fc18ccc42101fc5f0 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 18 Oct 2011 18:24:26 +0000 Subject: [PATCH] See ChangeLog. Monotone-Parent: 8a9a97e74ab23c27d73459976c2caa29e59adf64 Monotone-Revision: 9cd374b5145ecb4b9e8a0e2131e87d85796cbba9 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-10-18T18:24:26 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ SoObjects/Mailer/SOGoMailFolder.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f1794eed5..72f241dab 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-14 Wolfgang Sourdeau * OpenChange/MAPIStoreGCSMessageTable.m 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