Optimize HandleJsonSelector() to avoid needless throws

pull/673/head
Qstick 3 years ago
parent c83c818380
commit 574568e71d

@ -271,7 +271,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
}
}
return ApplyFilters(value.Trim(), selector.Filters, variables);
return ApplyFilters(value?.Trim(), selector.Filters, variables) ?? null;
}
protected Dictionary<string, object> GetBaseTemplateVariables()

Loading…
Cancel
Save