try -> try_lwt

This commit is contained in:
Tony Garnock-Jones 2012-05-10 11:09:07 -04:00
parent 513f0f7334
commit aa87e25a95
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ let handshake_and_tune conn =
let amqp_mainloop conn n =
lwt () = Node.bind_ignore (conn.name, n) in
(try
(try_lwt
lwt () = handshake_and_tune conn in
while_lwt not conn.connection_closed do
lwt (channel, m) = next_method conn in