better format error
This commit is contained in:
parent
39b7eb7350
commit
c6972cb914
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ openConnection u addr = do
|
||||||
liftIO $ closeConnection conn
|
liftIO $ closeConnection conn
|
||||||
return ClosedConnection
|
return ClosedConnection
|
||||||
Left e -> do
|
Left e -> do
|
||||||
warning e
|
warning $ "Problem communicating with peer. (" ++ e ++ ")"
|
||||||
liftIO $ closeConnection conn
|
liftIO $ closeConnection conn
|
||||||
return ClosedConnection
|
return ClosedConnection
|
||||||
Left e -> do
|
Left e -> do
|
||||||
|
|
Loading…
Add table
Reference in a new issue