move to debug
This commit is contained in:
parent
af41519126
commit
23438fb80f
1 changed files with 4 additions and 6 deletions
|
@ -95,12 +95,10 @@ serveClient th u r q = bracket setup cleanup go
|
||||||
Right (Just theiruuid) -> void $
|
Right (Just theiruuid) -> void $
|
||||||
runFullProto (Serving theiruuid) conn $
|
runFullProto (Serving theiruuid) conn $
|
||||||
serveAuthed u
|
serveAuthed u
|
||||||
Right Nothing -> do
|
Right Nothing -> liftIO $
|
||||||
liftIO $ debugM "remotedaemon" "TOR connection failed to authenticate"
|
debugM "remotedaemon" "TOR connection failed to authenticate"
|
||||||
return ()
|
Left e -> liftIO $
|
||||||
Left e -> do
|
debugM "remotedaemon" ("Error while serving TOR connection: " ++ e)
|
||||||
warning e
|
|
||||||
return ()
|
|
||||||
-- Merge the duplicated state back in.
|
-- Merge the duplicated state back in.
|
||||||
liftAnnex th $ mergeState st'
|
liftAnnex th $ mergeState st'
|
||||||
debugM "remotedaemon" "done with TOR connection"
|
debugM "remotedaemon" "done with TOR connection"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue