Skip to content
Snippets Groups Projects
Commit 855c43dd authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[kernel] print exception when plugin loading fails

parent 7c71363a
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,8 @@ let load_plugin m =
(* Ok, this is ugly, but Dune Site does not give any way to catch this ...
Note that we abort with a user error.
*)
with _ -> Klog.abort "Failed to load plug-in %S" m
with e -> Klog.abort "Failed to load plug-in %S@.Exception: %s" m
(Printexc.to_string e)
let load_module m =
let base,ext = split_ext m in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment