mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-12-06 06:46:31 +01:00
JsonUtils : update error message
This commit is contained in:
1 parent
f3c395833a
commit
39b1eb8f43
1 file changed
+2
-1
@@ -40,6 +40,7 @@ namespace WireMock.Util
|
|||||||
{
|
{
|
||||||
WalkNode(child.Value, child.Path, child.Name, childLines);
|
WalkNode(child.Value, child.Path, child.Name, childLines);
|
||||||
}
|
}
|
||||||
|
|
||||||
text.Append(string.Join(", ", childLines));
|
text.Append(string.Join(", ", childLines));
|
||||||
text.Append(")");
|
text.Append(")");
|
||||||
|
|
||||||
@@ -115,7 +116,7 @@ namespace WireMock.Util
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw new NotSupportedException($"JTokenType '{node.Type}'.");
|
throw new NotSupportedException($"JTokenType '{node.Type}' cannot be converted to a Dynamic Linq cast operator.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(propertyName))
|
if (!string.IsNullOrEmpty(propertyName))
|
||||||
|
|||||||
Reference in new issue
Block a user