mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 23:37:15 +00:00
Improve error messages around draft attachments
(cont'd)
This commit is contained in:
1 parent
65e3fe978c
commit
818233535f
1 file changed
+2
-3
@@ -661,10 +661,9 @@ static NSArray *infoKeys = nil;
|
||||
{
|
||||
NSDictionary *d;
|
||||
|
||||
d = [NSDictionary dictionaryWithObjectsAndKeys: msg, @"textStatus", nil];
|
||||
d = [NSDictionary dictionaryWithObjectsAndKeys: msg, @"message", nil];
|
||||
|
||||
return [self responseWithStatus: 500
|
||||
andString: [d jsonRepresentation]];
|
||||
return [self responseWithStatus: 500 andJSONRepresentation: d];
|
||||
}
|
||||
|
||||
/* attachment helper */
|
||||
|
||||
Reference in new issue
Block a user