On type missmatch report whole document

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39388 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-02-17 14:11:50 +00:00
parent 0306683e63
commit cf0b385788

View file

@ -6505,8 +6505,8 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
{
[NSException raise: NSInvalidArgumentException
format: @"multipart/related 'type' (%@) does not match "
@"that of the 'start' part (%@)",
[type parameterForKey: @"type"], v];
@"that of the 'start' part (%@) in %@",
[type parameterForKey: @"type"], v, self];
}
}
}