Revert "fix(threadpool): stop logging task args because they may contain pwd"

This reverts commit b38faeae64.
This commit is contained in:
Patryk Osmaczko 2023-09-19 09:36:09 +02:00 committed by osmaczko
parent c6449f67c6
commit d51b78468d
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ proc runTask(safeTaskArg: ThreadSafeTaskArg) {.gcsafe, nimcall.} =
let messageType = parsed{"$type"}.getStr
# 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()
debug "[threadpool task thread] initiating task", messageType=messageType,
threadid=getThreadId(), task=taskArg
try:
let task = cast[Task](parsed{"tptr"}.getInt)