From b38faeae647ced0cd499be4f99ec078bc993e05b Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 16 Aug 2023 12:48:19 -0400 Subject: [PATCH] fix(threadpool): stop logging task args because they may contain pwd --- src/app/core/tasks/threadpool.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/core/tasks/threadpool.nim b/src/app/core/tasks/threadpool.nim index 821eddb740..89de6b8732 100644 --- a/src/app/core/tasks/threadpool.nim +++ b/src/app/core/tasks/threadpool.nim @@ -51,8 +51,8 @@ proc runTask(safeTaskArg: ThreadSafeTaskArg) {.gcsafe, nimcall.} = let messageType = parsed{"$type"}.getStr - debug "[threadpool task thread] initiating task", messageType=messageType, - threadid=getThreadId(), task=taskArg + # TODO re-add the taskArg to the log once all the passwords in the app are hashed before being sent to another thread + debug "[threadpool task thread] initiating task", messageType=messageType, threadid=getThreadId() try: let task = cast[Task](parsed{"tptr"}.getInt)