chore: Lintfix @n8n/nodes-langchain (#16868)

This commit is contained in:
Iván Ovejero
2025-07-01 14:08:51 +02:00
committed by GitHub
parent 1958b89d38
commit 9ffca02016
89 changed files with 144 additions and 246 deletions

View File

@@ -136,11 +136,7 @@ export class N8nNonEstimatingTracing extends BaseCallbackHandler {
};
}
async handleLLMError(
error: IDataObject | Error,
runId: string,
parentRunId?: string | undefined,
) {
async handleLLMError(error: IDataObject | Error, runId: string, parentRunId?: string) {
const runDetails = this.runsMap[runId] ?? { index: Object.keys(this.runsMap).length };
// Filter out non-x- headers to avoid leaking sensitive information in logs