n8n-nodes-tembory 1.1.17 → 1.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2461,8 +2461,19 @@ const wrapTemboryMemory = (memory, ctx, memoryKey) => new Proxy(memory, {
|
|
|
2461
2461
|
return response;
|
|
2462
2462
|
}
|
|
2463
2463
|
catch (error) {
|
|
2464
|
-
|
|
2465
|
-
|
|
2464
|
+
const message = error && error.message ? error.message : String(error);
|
|
2465
|
+
ctx.addOutputData(n8n_workflow_1.NodeConnectionTypes.AiMemory, index, [
|
|
2466
|
+
[{
|
|
2467
|
+
json: {
|
|
2468
|
+
action: 'saveContext',
|
|
2469
|
+
saved: false,
|
|
2470
|
+
inputChars: JSON.stringify(input || {}).length,
|
|
2471
|
+
outputChars: JSON.stringify(output || {}).length,
|
|
2472
|
+
error: truncate(message, 500),
|
|
2473
|
+
},
|
|
2474
|
+
}],
|
|
2475
|
+
]);
|
|
2476
|
+
return undefined;
|
|
2466
2477
|
}
|
|
2467
2478
|
};
|
|
2468
2479
|
}
|
package/package.json
CHANGED