mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Do not throw an error when calculating dynamic inputs/outputs (no-changelog) (#8858)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -1104,9 +1104,8 @@ export function getNodeInputs(
|
||||
{},
|
||||
) || []) as ConnectionTypes[];
|
||||
} catch (e) {
|
||||
throw new ApplicationError('Could not calculate inputs dynamically for node', {
|
||||
extra: { nodeName: node.name },
|
||||
});
|
||||
console.warn('Could not calculate inputs dynamically for node: ', node.name);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1129,9 +1128,7 @@ export function getNodeOutputs(
|
||||
{},
|
||||
) || []) as ConnectionTypes[];
|
||||
} catch (e) {
|
||||
throw new ApplicationError('Could not calculate outputs dynamically for node', {
|
||||
extra: { nodeName: node.name },
|
||||
});
|
||||
console.warn('Could not calculate outputs dynamically for node: ', node.name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user