Skip to content

Commit

Permalink
Just add messaging to exception
Browse files Browse the repository at this point in the history
  • Loading branch information
deanhannigan committed Jul 22, 2023
1 parent d58a73e commit 9030af3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions WolvenKit.Common/RED4/CR2W/JSON/PrimitiveConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1359,9 +1359,7 @@ public T ResolveReference(string referenceId)
{

string json = JsonSerializer.Serialize(ReferenceIdToObjectMap);
_loggerService.Info($"referenceId failed: {referenceId}");
_loggerService.Info($"JSON ReferenceIdToObjectMap out: {json}");
throw new JsonException();
throw new JsonException(json);
}

return value;
Expand Down

0 comments on commit 9030af3

Please sign in to comment.