mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Prevent node param resolution from failing telemetry graph generation (#9257)
This commit is contained in:
@@ -126,14 +126,20 @@ export function generateNodesGraph(
|
||||
return;
|
||||
}
|
||||
|
||||
const nodeParameters =
|
||||
getNodeParameters(
|
||||
stickyType.description.properties,
|
||||
stickyNote.parameters,
|
||||
true,
|
||||
false,
|
||||
stickyNote,
|
||||
) ?? {};
|
||||
let nodeParameters: IDataObject = {};
|
||||
|
||||
try {
|
||||
nodeParameters =
|
||||
getNodeParameters(
|
||||
stickyType.description.properties,
|
||||
stickyNote.parameters,
|
||||
true,
|
||||
false,
|
||||
stickyNote,
|
||||
) ?? {};
|
||||
} catch {
|
||||
// prevent node param resolution from failing graph generation
|
||||
}
|
||||
|
||||
const height: number = typeof nodeParameters.height === 'number' ? nodeParameters.height : 0;
|
||||
const width: number = typeof nodeParameters.width === 'number' ? nodeParameters.width : 0;
|
||||
|
||||
Reference in New Issue
Block a user