skip completely null dictionaries #300

This commit is contained in:
Eliot Jones
2021-02-23 20:07:14 -04:00
parent cc81541ce2
commit 89ee5f5358

View File

@@ -38,6 +38,11 @@
private static string GetEntryOrDefault(DictionaryToken infoDictionary, NameToken key)
{
if (infoDictionary == null)
{
return null;
}
if (!infoDictionary.TryGet(key, out var value))
{
return null;