Browse Source

Thread-safe error reporting in test client

master
Philipp Balzarek 14 years ago
parent
commit
81b7460d53
  1. 2
      tests/Tests.hs

2
tests/Tests.hs

@ -128,7 +128,7 @@ runMain debug number = do @@ -128,7 +128,7 @@ runMain debug number = do
Right _ -> return ()
Left e -> error $ show e
debug' "session standing")
(\e -> liftIO (print (e ::Ex.SomeException) >> Ex.throwIO e) )
(\e -> debug' $ show (e ::Ex.SomeException))
sendPresence presenceOnline
fork autoAccept
sendPresence $ presenceSubscribe them

Loading…
Cancel
Save