simplify
This commit is contained in:
parent
9fdd91816d
commit
7b33e6c9f3
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ debugMessage :: P2PConnection -> String -> Message -> IO ()
|
||||||
debugMessage conn prefix m = do
|
debugMessage conn prefix m = do
|
||||||
tid <- myThreadId
|
tid <- myThreadId
|
||||||
debugM "p2p" $ concat $ catMaybes $
|
debugM "p2p" $ concat $ catMaybes $
|
||||||
[ (\ident -> "[connection: " ++ ident ++ "] ") <$> mident
|
[ (\ident -> "[" ++ ident ++ "] ") <$> mident
|
||||||
, Just $ "[" ++ show tid ++ "] "
|
, Just $ "[" ++ show tid ++ "] "
|
||||||
, Just $ prefix ++ " " ++ unwords (formatMessage safem)
|
, Just $ prefix ++ " " ++ unwords (formatMessage safem)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue