mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Add tracing details to native Python runner logs (#19024)
This commit is contained in:
@@ -25,12 +25,19 @@ export class PythonTaskRunnerSandbox {
|
||||
async runUsingIncomingItems() {
|
||||
const itemIndex = 0;
|
||||
|
||||
const node = this.executeFunctions.getNode();
|
||||
const workflow = this.executeFunctions.getWorkflow();
|
||||
|
||||
const taskSettings: Record<string, unknown> = {
|
||||
code: this.pythonCode,
|
||||
nodeMode: this.nodeMode,
|
||||
workflowMode: this.workflowMode,
|
||||
continueOnFail: this.executeFunctions.continueOnFail(),
|
||||
items: this.executeFunctions.getInputData(),
|
||||
nodeId: node.id,
|
||||
nodeName: node.name,
|
||||
workflowId: workflow.id,
|
||||
workflowName: workflow.name,
|
||||
};
|
||||
|
||||
const executionResult = await this.executeFunctions.startJob<INodeExecutionData[]>(
|
||||
|
||||
Reference in New Issue
Block a user