mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 17:54:01 +00:00
fix(threadpool): stop logging task args because they may contain pwd
This commit is contained in:
parent
beaca31664
commit
b38faeae64
@ -51,8 +51,8 @@ proc runTask(safeTaskArg: ThreadSafeTaskArg) {.gcsafe, nimcall.} =
|
|||||||
|
|
||||||
let messageType = parsed{"$type"}.getStr
|
let messageType = parsed{"$type"}.getStr
|
||||||
|
|
||||||
debug "[threadpool task thread] initiating task", messageType=messageType,
|
# TODO re-add the taskArg to the log once all the passwords in the app are hashed before being sent to another thread
|
||||||
threadid=getThreadId(), task=taskArg
|
debug "[threadpool task thread] initiating task", messageType=messageType, threadid=getThreadId()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
let task = cast[Task](parsed{"tptr"}.getInt)
|
let task = cast[Task](parsed{"tptr"}.getInt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user