Node: catch correct P2P exn
This commit is contained in:
parent
5c428a5ea3
commit
01fe34bc4b
@ -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 () ->
|
||||
|
Loading…
Reference in New Issue
Block a user