mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-20 19:39:22 +00:00
fix: Remove threadpool data from logs on production builds
This commit is contained in:
parent
06d549922f
commit
620b37f8a1
@ -53,8 +53,12 @@ proc runTask(safeTaskArg: ThreadSafeTaskArg) {.gcsafe, nimcall, raises: [].} =
|
||||
|
||||
let messageType = parsed{"$type"}.getStr
|
||||
|
||||
debug "[threadpool task thread] initiating task", messageType=messageType,
|
||||
threadid=getThreadId(), task=taskArg
|
||||
if defined(production):
|
||||
debug "[threadpool task thread] initiating task", messageType=messageType,
|
||||
threadid=getThreadId()
|
||||
else:
|
||||
debug "[threadpool task thread] initiating task", messageType=messageType,
|
||||
threadid=getThreadId(), task=taskArg
|
||||
|
||||
try:
|
||||
safeTaskArg.tptr(taskArg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user