From 01fe34bc4b62d742208f6a1f607d403f3a85e107 Mon Sep 17 00:00:00 2001 From: Vincent Bernardoff Date: Fri, 9 Dec 2016 18:18:59 +0100 Subject: [PATCH] Node: catch correct P2P exn --- src/node/shell/node.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/shell/node.ml b/src/node/shell/node.ml index 76a4b003c..e54e5d678 100644 --- a/src/node/shell/node.ml +++ b/src/node/shell/node.ml @@ -255,7 +255,7 @@ let create Lwt.catch worker_loop (function - | Lwt_stream.Empty -> cleanup () + | Queue.Empty -> cleanup () | exn -> lwt_log_error "unexpected exception in worker\n%s" (Printexc.to_string exn) >>= fun () ->