mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
Place custom criteria call inside try block
This commit is contained in:
@ -205,10 +205,9 @@ namespace Observatory.Explorer
|
|||||||
parents = null;
|
parents = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var result = criteriaFunction.Call(scan, parents, scanList, bioSignals, geoSignals);
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
var result = criteriaFunction.Call(scan, parents, scanList, bioSignals, geoSignals);
|
||||||
if (result.Length > 0 && ((bool?)result[0]).GetValueOrDefault(false))
|
if (result.Length > 0 && ((bool?)result[0]).GetValueOrDefault(false))
|
||||||
{
|
{
|
||||||
results.Add((result[1].ToString(), result[2].ToString()));
|
results.Add((result[1].ToString(), result[2].ToString()));
|
||||||
|
Reference in New Issue
Block a user