aboutsummaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 16:02:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 16:02:26 -0400
commit8c41972a6e9bf10a2b0b887a6618a6981d4a3c7e (patch)
tree19c1734e3759521ab3a6d40a5d28f4da20c20c8d /Remote
parent0ab80b705055528cd3858870e5f5eb88b9b71d92 (diff)
better format error
Diffstat (limited to 'Remote')
-rw-r--r--Remote/P2P.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/P2P.hs b/Remote/P2P.hs
index bc0e2f923..0813098f1 100644
--- a/Remote/P2P.hs
+++ b/Remote/P2P.hs
@@ -188,7 +188,7 @@ openConnection u addr = do
liftIO $ closeConnection conn
return ClosedConnection
Left e -> do
- warning e
+ warning $ "Problem communicating with peer. (" ++ e ++ ")"
liftIO $ closeConnection conn
return ClosedConnection
Left e -> do