better format error

This commit is contained in:
Joey Hess 2016-12-08 16:02:26 -04:00
parent 39b7eb7350
commit c6972cb914
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -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