add more logging
This commit is contained in:
parent
acc0e12f1d
commit
bcda028720
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ processRequests = do
|
|||
forever $ sendMessageQueue curLevel sockContainer clientQueue
|
||||
logPrintIO curLevel Verbose "enabled sender thread"
|
||||
pure t
|
||||
print clientSock
|
||||
logPrintIO curLevel Verbose $ show clientSock
|
||||
liftIO $ STM.atomically $ do
|
||||
slist <- STM.takeTMVar socketList
|
||||
STM.putTMVar
|
||||
|
|
|
@ -62,7 +62,7 @@ receiveMessage curLevel socketList queueList sockContainer queue = do
|
|||
then [] :: [B8.ByteString]
|
||||
else map B8.tail $ init $ B8.split '>' $ B8.fromStrict rawMsg
|
||||
logPrintIO curLevel Verbose $ "received messages: " <> show msgs
|
||||
print msgs
|
||||
logPrintIO curLevel Verbose $ show msgs
|
||||
mapM_
|
||||
(\msg -> do
|
||||
let mJsonMsg = A.decode' msg
|
||||
|
|
Loading…
Reference in a new issue