Skip to content

Commit

Permalink
fix(sec): 🛡️ Leakage of information in logger message
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck authored and ManAnRuck committed Aug 17, 2024
1 parent 2214699 commit 0d27136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/non-named-votes-ai/src/beschlusstextController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0d27136

Please sign in to comment.