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