From 0d27136a47f346a8ab1f8c2eef5c9a392a00d638 Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Sat, 17 Aug 2024 14:46:00 +0200 Subject: [PATCH] =?UTF-8?q?fix(sec):=20=F0=9F=9B=A1=EF=B8=8F=20Leakage=20o?= =?UTF-8?q?f=20information=20in=20logger=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Ruck --- services/non-named-votes-ai/src/beschlusstextController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/non-named-votes-ai/src/beschlusstextController.ts b/services/non-named-votes-ai/src/beschlusstextController.ts index 403ca6c6..f41f3be6 100644 --- a/services/non-named-votes-ai/src/beschlusstextController.ts +++ b/services/non-named-votes-ai/src/beschlusstextController.ts @@ -49,7 +49,7 @@ export const getBeschlusstext = async (req: Request, res: Response) => { const run = await runThread({ assistant_id: assistant.id, threadId: thread.id }); log.debug({ run }); if (run.status === 'failed') { - log.error(run); + log.error('OpenAI failed'); return res.status(500).json({ message: 'OpenAI failed' }); } const messages = await getMessageList(thread.id, run.id);