remove some unncessary uses of warningIO
warningIO is not concurrent output safe, and it doesn't go to --json-error-messages There are a few more that would be too hard to remove, and there are also several dozen direct prints to stderr still.
This commit is contained in:
parent
0be23bae2f
commit
9e8d40181f
5 changed files with 15 additions and 15 deletions
|
@ -69,7 +69,7 @@ server ichan th@(TransportHandle (LocalRepo r) _) = go
|
|||
)
|
||||
unless ok $ do
|
||||
hClose conn
|
||||
warningIO "dropped Tor connection, too busy"
|
||||
liftAnnex th $ warning "dropped Tor connection, too busy"
|
||||
|
||||
handlecontrol servicerunning = do
|
||||
msg <- atomically $ readTChan ichan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue