aboutsummaryrefslogtreecommitdiff
path: root/RemoteDaemon
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-21 21:22:58 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-21 21:32:51 -0400
commit3ea7198d9e0aea3f8764c0b991c18b09f32d2de1 (patch)
tree23d396798f4342efc6afc2acd3900b9ba1c0e0cc /RemoteDaemon
parentf0f7e900cc9248c05314eaed418317de690a24d8 (diff)
stop cleanly when there's a IO error accessing the Handle
All other exceptions are let through, but IO errors accessing the handle are to be expected, so quietly ignore.
Diffstat (limited to 'RemoteDaemon')
-rw-r--r--RemoteDaemon/Transport/Tor.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/RemoteDaemon/Transport/Tor.hs b/RemoteDaemon/Transport/Tor.hs
index e0922a766..8e27bc7dd 100644
--- a/RemoteDaemon/Transport/Tor.hs
+++ b/RemoteDaemon/Transport/Tor.hs
@@ -45,5 +45,5 @@ server th@(TransportHandle (LocalRepo r) _) = do
forkIO $ do
debugM "remotedaemon" "handling a connection"
h <- torHandle conn
- runNetProtoHandle h h r (serve u)
+ _ <- runNetProtoHandle h h r (serve u)
hClose h