diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/hello.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello.ml b/test/hello.ml index e506ded..51468dd 100644 --- a/test/hello.ml +++ b/test/hello.ml @@ -13,7 +13,7 @@ let main = other = []; } in let domain = (List.nth (String.split_on_char '@' config.sasl.jid) 1) in - try%lwt Stream.initiate domain config >|= (fun (portal, _) -> portal.push None) + try%lwt connect domain config >|= (fun (portal, _) -> portal.push None) with exn -> begin (* I suspect JavaScript's [wrap_callback] swallows the Exceptions thrown by |