From 758881425e173d7473f08e9d876e57523c6c05e1 Mon Sep 17 00:00:00 2001 From: Kate Date: Wed, 24 Jun 2020 19:52:57 +0100 Subject: [PATCH] Avoid the CI from crashing (see https://github.com/mirage/ocaml-conduit/pull/261 and https://github.com/mirage/ocaml-cohttp/pull/669) --- src-bin/opamRepoCI.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src-bin/opamRepoCI.ml b/src-bin/opamRepoCI.ml index cc02cc2..7cbc3fc 100644 --- a/src-bin/opamRepoCI.ml +++ b/src-bin/opamRepoCI.ml @@ -10,6 +10,9 @@ open Datakit_ci open Term.Infix module DO = Docker_ops +let () = Lwt.async_exception_hook := (fun exc -> + prerr_endline ("[Error caught in the Lwt.async_exception_hook]: "^Printexc.to_string exc)) + module Builder = struct let label = "opamRepo"