From 5ec7ad54bb5ae97ad334c57e9eb76c795a90074f Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 6 Jan 2017 15:45:30 -0500 Subject: [PATCH] Fix error handling when draft is too big --- SoObjects/Mailer/SOGoDraftObject.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index daafa17e2..f68f45b8d 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -647,6 +647,7 @@ static NSString *userAgent = nil; { error = [NSException exceptionWithHTTPStatus: 500 /* Server Error */ reason: @"message too big"]; + return error; } client = [[self imap4Connection] client];