We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e581848 commit 11532a6Copy full SHA for 11532a6
src/baselib/ocsigen_loader.ml
@@ -84,7 +84,11 @@ let loadfile pre post force file =
84
with e -> post (); raise e);
85
addloaded file)
86
else Lwt_log.ign_info_f ~section "Extension %s already loaded" file
87
- with e -> raise (Dynlink_error (file, e))
+ with
88
+ | Dynlink.Error (Dynlink.Module_already_loaded m) ->
89
+ Lwt_log.ign_info_f ~section
90
+ "While loading extension %s: Module %s cannot be loaded again" file m
91
+ | e -> raise (Dynlink_error (file, e))
92
93
let id () = ()
94
0 commit comments