-Fixed handling error when reading metadata property

This commit is contained in:
James Newton-King
2017-04-01 16:49:33 +13:00
parent 33cf71dc74
commit f88ae288bc
2 changed files with 49 additions and 1 deletions
@@ -2408,7 +2408,7 @@ namespace Newtonsoft.Json.Serialization
{
if (IsErrorHandled(newObject, contract, memberName, reader as IJsonLineInfo, reader.Path, ex))
{
HandleError(reader, true, initialDepth);
HandleError(reader, true, initialDepth - 1);
}
else
{