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,8 +154,14 @@ var et2_nextmatch_rowProvider = /** @class */ (function () {
for (var j = 0; j < nodes.length; j++) { for (var j = 0; j < nodes.length; j++) {
// Use the previously compiled node function to get the node // Use the previously compiled node function to get the node
// from the entry // from the entry
try {
nodes[j] = entry.nodeFuncs[j](row); nodes[j] = entry.nodeFuncs[j](row);
} }
catch (e) {
debugger;
continue;
}
}
// Set the array managers first // Set the array managers first
entry.widget._mgrs = mgrs; entry.widget._mgrs = mgrs;
if (typeof data.id != "undefined") { if (typeof data.id != "undefined") {

View File

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