Try to avoid error from missing nodes

I suspect this is from either TypeScript conversion or nm node optimization, but can't duplicate it regularly
This commit is contained in:
nathangray 2020-04-14 15:03:32 -06:00
parent 32267f02c8
commit 8f8c437712
2 changed files with 16 additions and 2 deletions

View File

@ -154,7 +154,13 @@ var et2_nextmatch_rowProvider = /** @class */ (function () {
for (var j = 0; j < nodes.length; j++) {
// Use the previously compiled node function to get the node
// from the entry
nodes[j] = entry.nodeFuncs[j](row);
try {
nodes[j] = entry.nodeFuncs[j](row);
}
catch (e) {
debugger;
continue;
}
}
// Set the array managers first
entry.widget._mgrs = mgrs;

View File

@ -172,7 +172,15 @@ export class et2_nextmatch_rowProvider
{
// Use the previously compiled node function to get the node
// from the entry
nodes[j] = entry.nodeFuncs[j](row);
try
{
nodes[j] = entry.nodeFuncs[j](row);
}
catch (e)
{
debugger;
continue;
}
}
// Set the array managers first